source:
products/quintagroup.captcha.core/trunk/quintagroup/captcha/core/Extensions/Install.py
@
3216
Last change on this file since 3216 was 3128, checked in by vmaksymiv, 13 years ago | |
---|---|
File size: 305 bytes |
Line | |
---|---|
1 | import transaction |
2 | from Products.CMFCore.utils import getToolByName |
3 | |
4 | |
5 | def 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.