No tabs in zcml please

svn path=/plone.app.discussion/trunk/; revision=46364
This commit is contained in:
Maurits van Rees 2010-12-15 22:59:24 +00:00
parent 87d767651b
commit 9eb172023a
4 changed files with 19 additions and 20 deletions

View File

@ -4,13 +4,13 @@
xmlns:zcml="http://namespaces.zope.org/zcml" xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone.app.discussion"> i18n_domain="plone.app.discussion">
<!-- <!--
Plone 3 fixes Plone 3 fixes
Plone 3 / Zope 2.10 does not recognize the meta:provides feature. Plone 3 / Zope 2.10 does not recognize the meta:provides feature.
Therefore we claim to provide this feature when a suitable package is Therefore we claim to provide this feature when a suitable package is
installed. installed.
--> -->
<configure zcml:condition="installed plone.formwidget.captcha"> <configure zcml:condition="installed plone.formwidget.captcha">
<meta:provides feature="plone.app.discussion-captcha" /> <meta:provides feature="plone.app.discussion-captcha" />
</configure> </configure>
@ -35,7 +35,7 @@
provides="plone.z3cform.fieldsets.interfaces.IFormExtender" /> provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />
<adapter <adapter
factory=".validator.CaptchaValidator" factory=".validator.CaptchaValidator"
provides="z3c.form.interfaces.IValidator" provides="z3c.form.interfaces.IValidator"
/> />
</configure> </configure>

View File

@ -11,17 +11,17 @@
<include package="plone.indexer" /> <include package="plone.indexer" />
<!-- XXX: Excluding plone.app.uuid for Plone 3 is only a temporary 'fix'. <!-- XXX: Excluding plone.app.uuid for Plone 3 is only a temporary 'fix'.
plone.app.uuid causes the IObjectAddedEvent to be fired twice on plone.app.uuid causes the IObjectAddedEvent to be fired twice on
Plone 3. This causes the email notifications to be send twice. Plone 3. This causes the email notifications to be send twice.
This means that https://dev.plone.org/plone/ticket/10652 is fixed only This means that https://dev.plone.org/plone/ticket/10652 is fixed only
for Plone 4. for Plone 4.
--> -->
<configure zcml:condition="have plone-4"> <configure zcml:condition="have plone-4">
<include package="plone.uuid" /> <include package="plone.uuid" />
<include package="plone.app.uuid" /> <include package="plone.app.uuid" />
</configure> </configure>
<include file="permissions.zcml" /> <include file="permissions.zcml" />
<include file="notifications.zcml" /> <include file="notifications.zcml" />
@ -60,7 +60,7 @@
</class> </class>
<!-- XXX: Excluding plone.uuid for Plone 3 is only a temporary 'fix'. <!-- XXX: Excluding plone.uuid for Plone 3 is only a temporary 'fix'.
See the comment above --> See the comment above -->
<configure zcml:condition="have plone-4"> <configure zcml:condition="have plone-4">
<class class=".comment.Comment"> <class class=".comment.Comment">

View File

@ -85,7 +85,6 @@
zope.app.container.interfaces.IObjectRemovedEvent" zope.app.container.interfaces.IObjectRemovedEvent"
handler=".comment.notify_content_object_deleted" handler=".comment.notify_content_object_deleted"
/> />
</configure> </configure>
<!-- Control panel event subscribers --> <!-- Control panel event subscribers -->