Ejemplo n.º 1
0
def migrateTo41(context):
    setup_tool = getToolByName(context, 'portal_setup')
    setup_tool.runImportStepFromProfile('profile-rt.bulkmodify:default',
                                        'jsregistry')
    setup_tool.runImportStepFromProfile('profile-rt.bulkmodify:default',
                                        'cssregistry')
    logger.info("Migrated to 0.4.1")
Ejemplo n.º 2
0
def uninstall(portal, reinstall=False):
    if not reinstall:
        setup_tool = portal.portal_setup
        setup_tool.runAllImportStepsFromProfile('profile-rt.bulkmodify:uninstall')
        logger.info("Uninstall done")
Ejemplo n.º 3
0
def migrateTo41(context):
    setup_tool = getToolByName(context, 'portal_setup')
    setup_tool.runImportStepFromProfile('profile-rt.bulkmodify:default', 'jsregistry')
    setup_tool.runImportStepFromProfile('profile-rt.bulkmodify:default', 'cssregistry')
    logger.info("Migrated to 0.4.1")