Commit 83e3de39 authored by Aurel's avatar Aurel

use user interface cache factory instead of core

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13085 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb1a3bf2
...@@ -234,7 +234,7 @@ class OOoDocument(File, ConversionCacheMixin): ...@@ -234,7 +234,7 @@ class OOoDocument(File, ConversionCacheMixin):
cached_getTargetFormatItemList = CachingMethod(cached_getTargetFormatItemList, cached_getTargetFormatItemList = CachingMethod(cached_getTargetFormatItemList,
id = "OOoDocument_getTargetFormatItemList", id = "OOoDocument_getTargetFormatItemList",
cache_factory='erp5_core_short') cache_factory='erp5_user_interface_short')
return cached_getTargetFormatItemList(self.getContentType()) return cached_getTargetFormatItemList(self.getContentType())
security.declareProtected(Permissions.AccessContentsInformation, 'getTargetFormatList') security.declareProtected(Permissions.AccessContentsInformation, 'getTargetFormatList')
......
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