remove upgrade step from here. all upgrade step of plone goes to plone.app.upgrades
This commit is contained in:
parent
a16958c1c7
commit
0e72ce12a6
@ -1,5 +1,5 @@
|
||||
<metadata>
|
||||
<version>110</version>
|
||||
<version>100</version>
|
||||
<dependencies>
|
||||
<dependency>profile-plone.app.registry:default</dependency>
|
||||
</dependencies>
|
||||
|
@ -7,9 +7,3 @@ def update_registry(context):
|
||||
registry = getUtility(IRegistry)
|
||||
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
|
||||
|
@ -11,12 +11,4 @@
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user