2012-05-18 13:53:20 +00:00
|
|
|
module ExtraCollection
|
|
|
|
def add(collections)
|
|
|
|
|
2012-10-01 18:41:08 +00:00
|
|
|
# all ticket stuff
|
2012-05-18 13:53:20 +00:00
|
|
|
collections['TicketStateType'] = Ticket::StateType.all
|
|
|
|
collections['TicketState'] = Ticket::State.all
|
|
|
|
collections['TicketPriority'] = Ticket::Priority.all
|
|
|
|
collections['TicketArticleType'] = Ticket::Article::Type.all
|
|
|
|
collections['TicketArticleSender'] = Ticket::Article::Sender.all
|
|
|
|
|
2012-10-01 18:41:08 +00:00
|
|
|
# all signatures
|
|
|
|
collections['Signature'] = Signature.all
|
|
|
|
|
|
|
|
# all email addresses
|
|
|
|
collections['EmailAddress'] = EmailAddress.all
|
|
|
|
|
2012-05-18 13:53:20 +00:00
|
|
|
end
|
|
|
|
module_function :add
|
|
|
|
end
|