Commit ff37d82e authored by Vincent Pelletier's avatar Vincent Pelletier

Use erp5_content_short cache for consistency with ERP5Security. Thanks to Jerome for notifying.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15486 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d42e55b
...@@ -486,7 +486,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -486,7 +486,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
security_uid_list = [x.uid for x in method(security_roles_list = allowedRolesAndUsers)] security_uid_list = [x.uid for x in method(security_roles_list = allowedRolesAndUsers)]
_getSecurityUidList = CachingMethod(_getSecurityUidList, _getSecurityUidList = CachingMethod(_getSecurityUidList,
id='_getSecurityUidList', id='_getSecurityUidList',
cache_factory='erp5_ui_short') cache_factory='erp5_content_short')
security_uid_list = _getSecurityUidList(allowedRolesAndUsers) security_uid_list = _getSecurityUidList(allowedRolesAndUsers)
else: else:
security_uid_list = [] security_uid_list = []
......
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