From f2f70e908b4b80932db67bc790ffb71ae30237a1 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 3 Jul 2009 09:03:19 +0000 Subject: [PATCH] show "moderate comments" site action only when comment_review_workflow is enabled for comments. svn path=/plone.app.discussion/trunk/; revision=27791 --- plone/app/discussion/profiles/default/actions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/profiles/default/actions.xml b/plone/app/discussion/profiles/default/actions.xml index 27c57a1..9d7396e 100644 --- a/plone/app/discussion/profiles/default/actions.xml +++ b/plone/app/discussion/profiles/default/actions.xml @@ -6,7 +6,7 @@ string:$portal_url/@@moderate-comments - + python: portal.portal_workflow.getChainForPortalType('Discussion Item') == ('comment_review_workflow',)