2010-08-26 11:31:49 +02:00
|
|
|
<configure
|
|
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
|
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
|
|
|
i18n_domain="plone.app.discussion">
|
|
|
|
|
|
|
|
<!-- Plone 3 Event Subscribers -->
|
|
|
|
|
|
|
|
<configure zcml:condition="not-installed zope.app.container">
|
|
|
|
|
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".comment.notify_user"
|
|
|
|
/>
|
2010-12-16 00:52:56 +01:00
|
|
|
|
2010-08-26 11:31:49 +02:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".comment.notify_moderator"
|
|
|
|
/>
|
2010-12-16 00:52:56 +01:00
|
|
|
|
2010-08-26 11:31:49 +02:00
|
|
|
</configure>
|
|
|
|
|
2010-12-16 00:52:56 +01:00
|
|
|
|
2010-08-26 11:31:49 +02:00
|
|
|
<!-- Plone 4 Event Subscribers -->
|
2010-12-16 00:52:56 +01:00
|
|
|
|
2010-08-26 11:31:49 +02:00
|
|
|
<configure zcml:condition="installed zope.app.container">
|
|
|
|
|
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".comment.notify_user"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".comment.notify_moderator"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</configure>
|
|
|
|
|
|
|
|
</configure>
|