Commit 0d0f8529 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

cleanup code.

parent b1b9451c
......@@ -186,9 +186,7 @@ class CacheTool(BaseTool):
(cache_factory_list,))
ram_cache_root = self.getRamCacheRoot()
for cf_key in cache_factory_list:
if ram_cache_root.has_key(cf_key):
for cp in ram_cache_root[cf_key].getCachePluginList():
cp.clearCache()
self.clearCacheFactory(cf_key)
if REQUEST is not None:
self.REQUEST.RESPONSE.redirect('cache_tool_configure?manage_tabs_message=Cache cleared.')
......
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