diff --git a/plone/app/discussion/browser/moderation.py b/plone/app/discussion/browser/moderation.py index 5d0c47a..eb22234 100644 --- a/plone/app/discussion/browser/moderation.py +++ b/plone/app/discussion/browser/moderation.py @@ -95,8 +95,6 @@ class DeleteComment(BrowserView): del conversation[comment_id] - return context.REQUEST.RESPONSE.redirect(context.REQUEST.HTTP_REFERER) - class PublishComment(BrowserView): """Publish a comment """ @@ -113,8 +111,6 @@ class PublishComment(BrowserView): catalog = getToolByName(comment, 'portal_catalog') catalog.reindexObject(comment) - return self.context.REQUEST.RESPONSE.redirect(self.context.REQUEST.HTTP_REFERER) - class BulkActionsView(BrowserView): """Bulk actions (unapprove, approve, delete, mark as spam). """