Exemplo n.º 1
0
def uninstall(portal):
    setup_tool = portal.portal_setup
    setup_tool.runAllImportStepsFromProfile("profile-redturtle.imagedevent:uninstall")
    logger.info("Ran all uninstall steps.")
Exemplo n.º 2
0
def install(portal):
    setup_tool = portal.portal_setup
    setup_tool.runAllImportStepsFromProfile("profile-redturtle.imagedevent:default")
    if NEW_COLLECTION:
        setup_tool.runAllImportStepsFromProfile("profile-redturtle.imagedevent:new-collections-support")
    logger.info("Imaged event installed")