Commit 33ea71b5 authored by Francois Blackburn's avatar Francois Blackburn Committed by Etienne Lessard

outcall: remove unused extension creator

parent 01a94e94
......@@ -54,10 +54,8 @@ class Outcall(Base):
cascade='all, delete-orphan',
back_populates='outcall')
extensions = association_proxy('dialpatterns', 'extension',
creator=lambda _extension: DialPattern(type='outcall',
exten=_extension.exten,
extension=_extension))
extensions = association_proxy('dialpatterns', 'extension')
outcall_trunks = relationship('OutcallTrunk',
order_by='OutcallTrunk.priority',
collection_class=ordering_list('priority'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment