Last change
on this file since 3128 was
3128,
checked in by vmaksymiv, 13 years ago
|
pep8 fixes
|
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.