From: Wichert A. <svn...@pl...> - 2008-01-05 09:58:16
|
Author: wichert Date: Sat Jan 5 09:58:17 2008 New Revision: 18856 Modified: CMFPlone/branches/3.0/migrations/__init__.py CMFPlone/branches/3.0/migrations/v3_0/final_three0x.py Log: We need to run the registerToolsAsUtilities function to update the tool/utility registrations Modified: CMFPlone/branches/3.0/migrations/__init__.py ============================================================================== --- CMFPlone/branches/3.0/migrations/__init__.py (original) +++ CMFPlone/branches/3.0/migrations/__init__.py Sat Jan 5 09:58:17 2008 @@ -121,5 +121,5 @@ registerUpgradePath('3.0.1', '3.0.2', v3_0.final_three0x.three01_three02) registerUpgradePath('3.0.2', '3.0.3', null) registerUpgradePath('3.0.3', '3.0.4', v3_0.final_three0x.three03_three04) - registerUpgradePath('3.0.4', '3.0.5 (svn/unreleased)', null) + registerUpgradePath('3.0.4', '3.0.5', v3_0.final_three0x.three04_three05) Modified: CMFPlone/branches/3.0/migrations/v3_0/final_three0x.py ============================================================================== --- CMFPlone/branches/3.0/migrations/v3_0/final_three0x.py (original) +++ CMFPlone/branches/3.0/migrations/v3_0/final_three0x.py Sat Jan 5 09:58:17 2008 @@ -1,6 +1,7 @@ from Products.CMFCore.utils import getToolByName from Products.CMFPlone.migrations.migration_util import loadMigrationProfile from Products.CMFEditions.StandardModifiers import install +from Products.CMFPlone.migrations.v3_0.alphas import registerToolsAsUtilities def final_three01(portal): @@ -29,6 +30,15 @@ return out +def three04_three05(portal): + + out = [] + + registerToolsAsUtilities(portal, out) + + return out + + def installNewModifiers(portal, out): modifiers = getToolByName(portal, 'portal_modifier', None) if modifiers is not None: |