Commit 8bef496a authored by Sebastien Robin's avatar Sebastien Robin

rename user by scope

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11023 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46d71300
......@@ -172,7 +172,7 @@ class CachingMethod:
#erp5_site_id = kwd.get('portal_path', ('','erp5'))[1]
## cache scope is based on user which is a kwd argument
scope = kwd.get('user', 'GLOBAL')
scope = kwd.get('scope', 'GLOBAL')
## generate unique cache id
cache_id = self.generateCacheId(self.id, *args, **kwd)
......
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