From fb0bae48772d3e63e8473c2117e868d48bf596e4 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 26 Jun 2009 15:03:20 +0000 Subject: [PATCH] remove reindexObjectSecurity() call in publish comment method, since it is unnecessary. svn path=/plone.app.discussion/trunk/; revision=27671 --- plone/app/discussion/browser/moderation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plone/app/discussion/browser/moderation.py b/plone/app/discussion/browser/moderation.py index 469e807..d76508b 100644 --- a/plone/app/discussion/browser/moderation.py +++ b/plone/app/discussion/browser/moderation.py @@ -108,7 +108,6 @@ class PublishComment(BrowserView): catalog = getToolByName(comment, 'portal_catalog') catalog.reindexObject(comment) - comment.reindexObjectSecurity() return self.context.REQUEST.RESPONSE.redirect(self.context.REQUEST.HTTP_REFERER)