source:
products/quintagroup.captcha.core/trunk/quintagroup/captcha/core/Extensions/Install.py
Last change on this file was 3128, checked in by vmaksymiv, 13 years ago | |
---|---|
File size: 305 bytes |
Rev | Line | |
---|---|---|
[963] | 1 | import transaction |
2 | from Products.CMFCore.utils import getToolByName | |
3 | ||
[3128] | 4 | |
[963] | 5 | def uninstall(self): |
6 | portal_setup = getToolByName(self, 'portal_setup') | |
[3128] | 7 | profile = "profile-quintagroup.captcha.core:uninstall" |
8 | portal_setup.runAllImportStepsFromProfile(profile, purge_old=False) | |
[963] | 9 | transaction.savepoint() |
Note: See TracBrowser
for help on using the repository browser.