Avoid deprecation warning for the Globals package.

svn path=/plone.app.discussion/trunk/; revision=37349
This commit is contained in:
Hanno Schlichting 2010-06-18 12:01:44 +00:00
parent 6d415efde7
commit 7d3247ff0c
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@ Changelog
1.0b5 (unreleased) 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 * 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 submitted. This allows integrators to write schema extenders that remove the
title from the comment form. title from the comment form.

View File

@ -14,7 +14,7 @@ from Acquisition import aq_parent, Implicit
from AccessControl.Role import RoleManager from AccessControl.Role import RoleManager
from AccessControl.Owned import Owned from AccessControl.Owned import Owned
from Globals import Persistent from persistent import Persistent
from Products.CMFCore.DynamicType import DynamicType from Products.CMFCore.DynamicType import DynamicType
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName