Commit 5fa0362b authored by Nicolas Dumazet's avatar Nicolas Dumazet

CacheCookie's first value is zero: force a smaller value on last_sync to

make sure that there is _always_ at least one reset at instance startup


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42322 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9eb4d237
......@@ -373,7 +373,7 @@ def initializeDynamicModules():
erp5.temp_portal_type = registerDynamicModule('erp5.temp_portal_type',
loadTempPortalTypeClass)
last_sync = 0
last_sync = -1
def synchronizeDynamicModules(context, force=False):
"""
Allow resetting all classes to ghost state, most likely done after
......
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