From 6a92857f0d66ace4b5b8dba6325aa2d8b9f8a275 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Tue, 26 May 2009 08:26:25 +0000 Subject: [PATCH] Update Portal Type id git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27174 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Core/CacheFactory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/Core/CacheFactory.py b/product/ERP5Type/Core/CacheFactory.py index 5037f0507e..c1f612de1a 100644 --- a/product/ERP5Type/Core/CacheFactory.py +++ b/product/ERP5Type/Core/CacheFactory.py @@ -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): -- 2.30.9