remove the available_expr with a workflow name in it.

svn path=/plone.app.discussion/trunk/; revision=27812
This commit is contained in:
Timo Stollenwerk 2009-07-04 16:11:33 +00:00
parent b014e92f27
commit 3b981dd603

View File

@ -6,7 +6,7 @@
<property name="description" i18n:translate=""></property> <property name="description" i18n:translate=""></property>
<property name="url_expr">string:$portal_url/@@moderate-comments</property> <property name="url_expr">string:$portal_url/@@moderate-comments</property>
<property name="icon_expr"></property> <property name="icon_expr"></property>
<property name="available_expr">python: portal.portal_workflow.getChainForPortalType('Discussion Item') == ('comment_review_workflow',)</property> <property name="available_expr"></property>
<property name="permissions"> <property name="permissions">
<element value="Review comments"/> <element value="Review comments"/>
</property> </property>