From 2e33910dab3d422230ab05ca9fe0f2da60696e07 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 20 Sep 2006 08:18:18 +0000 Subject: [PATCH] Make the allowedContentType cache duration infinite. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10197 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Document/Folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Document/Folder.py b/product/ERP5Type/Document/Folder.py index 6e1b87c3c6..fe4c413691 100644 --- a/product/ERP5Type/Document/Folder.py +++ b/product/ERP5Type/Document/Folder.py @@ -685,7 +685,7 @@ be a problem).""" _allowedContentTypes = CachingMethod( _allowedContentTypes, id = 'allowedContentTypes', - cache_duration = 300) + cache_duration = None) user = str(_getAuthenticatedUser(self)) portal_type = self.getPortalType() portal = self.getPortalObject() -- 2.30.9