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")
def uninstall(portal, reinstall=False): if not reinstall: setup_tool = portal.portal_setup setup_tool.runAllImportStepsFromProfile('profile-rt.bulkmodify:uninstall') logger.info("Uninstall done")