source: products/quintagroup.captcha.core/trunk/quintagroup/captcha/core/Extensions/Install.py @ 3128

Last change on this file since 3128 was 3128, checked in by vmaksymiv, 13 years ago

pep8 fixes

File size: 305 bytes
Line 
1import transaction
2from Products.CMFCore.utils import getToolByName
3
4
5def uninstall(self):
6    portal_setup = getToolByName(self, 'portal_setup')
7    profile = "profile-quintagroup.captcha.core:uninstall"
8    portal_setup.runAllImportStepsFromProfile(profile, purge_old=False)
9    transaction.savepoint()
Note: See TracBrowser for help on using the repository browser.