remove reindexObjectSecurity() call in publish comment method, since it is unnecessary.

svn path=/plone.app.discussion/trunk/; revision=27671
This commit is contained in:
Timo Stollenwerk 2009-06-26 15:03:20 +00:00
parent 90440cfeca
commit fb0bae4877

View File

@ -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)