From 8bd1992a7f02e66821c8b62d92f1e0339e568c22 Mon Sep 17 00:00:00 2001 From: Katja Suess Date: Fri, 22 Nov 2019 19:45:12 +0100 Subject: [PATCH] IDisableCSRFProtection on @@moderate-publish-comment removed --- 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 075ee8a..2420e40 100644 --- a/plone/app/discussion/browser/moderation.py +++ b/plone/app/discussion/browser/moderation.py @@ -207,7 +207,6 @@ class PublishComment(BrowserView): """ def __call__(self): - alsoProvides(self.request, IDisableCSRFProtection) comment = aq_inner(self.context) content_object = aq_parent(aq_parent(comment)) workflowTool = getToolByName(comment, 'portal_workflow', None)