diff --git a/plone/app/discussion/profiles/default/metadata.xml b/plone/app/discussion/profiles/default/metadata.xml index c779e86..49f2d5e 100644 --- a/plone/app/discussion/profiles/default/metadata.xml +++ b/plone/app/discussion/profiles/default/metadata.xml @@ -1,5 +1,5 @@ - 1001 + 1002 profile-plone.resource:default profile-plone.app.registry:default diff --git a/plone/app/discussion/upgrades.py b/plone/app/discussion/upgrades.py index 1d4172f..784184e 100644 --- a/plone/app/discussion/upgrades.py +++ b/plone/app/discussion/upgrades.py @@ -73,3 +73,8 @@ def upgrade_comment_workflows(context): def add_js_to_plone_legacy(context): context.runImportStepFromProfile(default_profile, 'plone.app.registry') + + +def extend_review_workflow(context): + """Apply changes made to review workflow.""" + upgrade_comment_workflows_retain_current_workflow(context) diff --git a/plone/app/discussion/upgrades.zcml b/plone/app/discussion/upgrades.zcml index 02a7e54..ae72b6e 100644 --- a/plone/app/discussion/upgrades.zcml +++ b/plone/app/discussion/upgrades.zcml @@ -62,4 +62,15 @@ /> + + + +