source: products/quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/Extensions/Install.py @ 424

Last change on this file since 424 was 424, checked in by fenix, 18 years ago

fixed csv export

  • Property svn:eol-style set to native
File size: 377 bytes
Line 
1from Products.CMFCore.utils import getToolByName
2from quintagroup.seoptimizer.config import PROJECT_NAME
3
4
5def uninstall( portal ):
6    setup_tool = getToolByName(portal, 'portal_setup')
7    setup_tool.setBaselineContext('profile-%s:uninstall'%PROJECT_NAME)
8    setup_tool.runAllImportStepsFromProfile('profile-%s:uninstall'%PROJECT_NAME)
9    return "Ran all uninstall steps."
Note: See TracBrowser for help on using the repository browser.