remove upgrade step from here. all upgrade step of plone goes to plone.app.upgrades

This commit is contained in:
JeanMichel FRANCOIS 2013-01-08 10:31:16 +01:00
parent a16958c1c7
commit 0e72ce12a6
3 changed files with 1 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<metadata> <metadata>
<version>110</version> <version>100</version>
<dependencies> <dependencies>
<dependency>profile-plone.app.registry:default</dependency> <dependency>profile-plone.app.registry:default</dependency>
</dependencies> </dependencies>

View File

@ -7,9 +7,3 @@ def update_registry(context):
registry = getUtility(IRegistry) registry = getUtility(IRegistry)
registry.registerInterface(IDiscussionSettings) registry.registerInterface(IDiscussionSettings)
def add_anonymous_email_enabled_settings(context):
registry = getUtility(IRegistry)
key = 'plone.app.discussion.interfaces.IDiscussionSettings.'
key += 'anonymous_email_enabled'
registry[key] = False

View File

@ -11,12 +11,4 @@
handler=".upgrades.update_registry" handler=".upgrades.update_registry"
/> />
<genericsetup:upgradeStep
source="*"
destination="110"
title="Update plone.app.discussion setting registry"
description=""
profile="plone.app.discussion:default"
handler=".upgrades.update_registry"
/>
</configure> </configure>