Commit d021c7b5 authored by Jérome Perrin's avatar Jérome Perrin

Use activities to clear cache when validating an account. Use a low priorty as...

Use activities to clear cache when validating an account. Use a low priorty as it may prevent unnecessary cache clears when validating / invalidating multiple accounts.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14202 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29c892ea
......@@ -73,7 +73,7 @@ list of accounts.\n
"""\n
from Products.CMFCore.utils import getToolByName\n
portal_caches = getToolByName(sci.getPortal(), \'portal_caches\')\n
portal_caches.clearCache()\n
portal_caches.activate(priority=3).clearCache()\n
</string> </value>
</item>
<item>
......
282
\ No newline at end of file
283
\ No newline at end of file
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