plone.app.discussion/plone/app/discussion/upgrades.py
David Glick d323d37285 add upgrade step for moderator_email setting
svn path=/plone.app.discussion/branches/1.x/; revision=48555
2011-04-08 20:20:34 +00:00

9 lines
271 B
Python

from zope.component import getUtility
from plone.registry.interfaces import IRegistry
from plone.app.discussion.interfaces import IDiscussionSettings
def update_registry(context):
registry = getUtility(IRegistry)
registry.registerInterface(IDiscussionSettings)