Commit a65ed1ed authored by Nicolas Delaby's avatar Nicolas Delaby

remove useless if statement

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29596 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2a2e21e7
......@@ -118,7 +118,6 @@ class CacheTool(BaseTool):
CachingMethod.factories = {}
## read configuration from ZODB
for key, item in self.getCacheFactoryList().items():
if len(item['cache_plugins']):
## init cache backend storages
for cp in item["cache_plugins"]:
cp.initCacheStorage()
......
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