Commit 01e8a580 authored by Nicolas Delaby's avatar Nicolas Delaby

In r28082 a modification has been committed wrongly.

- Add a comment to explain why this condition has been added


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28083 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5e5754c
......@@ -133,6 +133,9 @@ class ConversionCacheMixin:
preference_tool = getToolByName(self, 'portal_preferences')
cache_factory_name = preference_tool.getPreferredConversionCacheFactory('document_cache_factory')
cache_factory = cache_tool.getRamCacheRoot().get(cache_factory_name)
#XXX This conditional statement should be remove as soon as
#Broadcasting will be enable among all zeo clients.
#Interaction which update portal_caches should interact with all nodes.
if cache_factory is None and getattr(cache_tool, cache_factory_name, None) is not None:
#ram_cache_root is not up to date for current node
cache_tool.updateCache()
......
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