Commit 6a92857f authored by Nicolas Delaby's avatar Nicolas Delaby

Update Portal Type id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27174 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29d7e4b2
......@@ -48,7 +48,7 @@ class CacheFactory(XMLObject):
allowed_types = ('ERP5 Ram Cache',
'ERP5 Distributed Ram Cache',
'ERP5 SQL Cache',
'ERP5 Zodb Cache',
'ERP5 ZODB Cache',
)
security = ClassSecurityInfo()
......@@ -70,7 +70,7 @@ class CacheFactory(XMLObject):
cache_plugins = self.objectValues(self.allowed_types)
cache_plugins = map(None, cache_plugins)
cache_plugins.sort(key=lambda x: x.getIntIndex(0))
return cache_plugins
return cache_plugins
security.declareProtected(Permissions.AccessContentsInformation, 'getRamCacheFactory')
def getRamCacheFactory(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment