source: products/quintagroup.seoptimizer/tags/2.2.0/quintagroup/seoptimizer/Extensions/Install.py @ 1544

Last change on this file since 1544 was 1544, checked in by liebster, 14 years ago

reverting erroneous commit [2582] (svn merge -r 2582:2572 http://svn.quintagroup.com/products/quintagroup.seoptimizer/tags/2.2.0)

  • 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.