remove reindexObjectSecurity() call in publish comment method, since it is unnecessary.
svn path=/plone.app.discussion/trunk/; revision=27671
This commit is contained in:
parent
90440cfeca
commit
fb0bae4877
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user