Last change
on this file since 2852 was
2852,
checked in by mylan, 14 years ago
|
#231: Fixed conflict with declaration of implemented interface for different plone versions
|
-
Property svn:eol-style set to
native
|
File size:
290 bytes
|
Rev | Line | |
---|
[2083] | 1 | from Products.CMFCore import permissions as cmfcore_permissions |
---|
| 2 | |
---|
[1973] | 3 | PROJECTNAME = "quintagroup.pfg.captcha" |
---|
[2083] | 4 | |
---|
| 5 | ADD_PERMISSION = cmfcore_permissions.AddPortalContent |
---|
[2852] | 6 | |
---|
| 7 | try: |
---|
| 8 | # Plone 4 and higher |
---|
| 9 | import plone.app.upgrade |
---|
| 10 | PLONE_VERSION = 4 |
---|
| 11 | except ImportError: |
---|
| 12 | PLONE_VERSION = 3 |
---|
| 13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.