Commit 9eee9f97 authored by Jérome Perrin's avatar Jérome Perrin

really enable the cache in Base_getOrganisationForSectionCategory

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21069 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f56b26eb
......@@ -90,7 +90,7 @@ def getOrganisationForSectionCategory(section_category):\n
\n
\n
from Products.ERP5Type.Cache import CachingMethod\n
xgetOrganisationForSectionCategory = CachingMethod(getOrganisationForSectionCategory,\n
getOrganisationForSectionCategory = CachingMethod(getOrganisationForSectionCategory,\n
id=script.getId())\n
organisation_url = getOrganisationForSectionCategory(section_category)\n
if organisation_url:\n
......@@ -151,7 +151,6 @@ if organisation_url:\n
<string>Products.ERP5Type.Cache</string>
<string>CachingMethod</string>
<string>script</string>
<string>xgetOrganisationForSectionCategory</string>
<string>organisation_url</string>
<string>None</string>
</tuple>
......
303
\ No newline at end of file
304
\ 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