diff --git a/CHANGES.txt b/CHANGES.txt index 6067a8c..562f17c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Changelog 1.0b5 (unreleased) ------------------ +* Avoid deprecation warning for the Globals package. + [hannosch] + * Remove the hard coded check for title and text when the comment form is submitted. This allows integrators to write schema extenders that remove the title from the comment form. diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index cc730cb..2d920ea 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -14,7 +14,7 @@ from Acquisition import aq_parent, Implicit from AccessControl.Role import RoleManager from AccessControl.Owned import Owned -from Globals import Persistent +from persistent import Persistent from Products.CMFCore.DynamicType import DynamicType from Products.CMFCore.utils import getToolByName