Changeset 1545 in products for quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/Extensions/Install.py
- Timestamp:
- Jan 11, 2010 6:23:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/Extensions/Install.py
r424 r1545 3 3 4 4 5 def uninstall( portal):5 def uninstall(portal, reinstall=False): 6 6 setup_tool = getToolByName(portal, 'portal_setup') 7 7 setup_tool.setBaselineContext('profile-%s:uninstall'%PROJECT_NAME) 8 setup_tool.runAllImportStepsFromProfile('profile-%s:uninstall'%PROJECT_NAME) 9 return "Ran all uninstall steps." 8 if reinstall: 9 return "Ran reinstall steps." 10 else: 11 setup_tool.runAllImportStepsFromProfile('profile-%s:uninstall'%PROJECT_NAME) 12 return "Ran all uninstall steps."
Note: See TracChangeset
for help on using the changeset viewer.