diff --git a/plone/app/discussion/browser/comments.py b/plone/app/discussion/browser/comments.py index d2cabb6..c16fbb4 100644 --- a/plone/app/discussion/browser/comments.py +++ b/plone/app/discussion/browser/comments.py @@ -75,7 +75,12 @@ class CommentForm(extensible.ExtensibleForm, form.Form): self.widgets['author_name'].mode = interfaces.HIDDEN_MODE self.widgets['author_email'].mode = interfaces.HIDDEN_MODE - # Notification enabled + # XXX: Since we are not using the author_email field in the + # current state, we hide it by default. But we keep the field for + # integrators or later use. + self.widgets['author_email'].mode = interfaces.HIDDEN_MODE + + # XXX: Author notification code #registry = queryUtility(IRegistry) #settings = registry.forInterface(IDiscussionSettings) #if not settings.user_notification_enabled: