source: products/quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/config.py @ 2852

Last change on this file since 2852 was 2852, checked in by mylan, 9 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
Line 
1from Products.CMFCore import permissions as cmfcore_permissions
2
3PROJECTNAME = "quintagroup.pfg.captcha"
4
5ADD_PERMISSION = cmfcore_permissions.AddPortalContent
6
7try: 
8    # Plone 4 and higher
9    import plone.app.upgrade 
10    PLONE_VERSION = 4 
11except ImportError: 
12    PLONE_VERSION = 3
13
Note: See TracBrowser for help on using the repository browser.