plone.app.discussion/plone/app/discussion/upgrades.py
Timo Stollenwerk b151244138 Pep8.
2013-04-18 15:51:57 +02: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)