[Erp5-report] r13151 - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 1 15:52:05 CET 2007


Author: aurel
Date: Thu Mar  1 15:52:03 2007
New Revision: 13151

URL: http://svn.erp5.org?rev=13151&view=rev
Log:
use clearAllCache instead of clearCache

Modified:
    erp5/trunk/products/ERP5/Document/BusinessTemplate.py

Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=13151&r1=13150&r2=13151&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Thu Mar  1 15:52:03 2007
@@ -56,7 +56,7 @@
 from Products.ERP5Type.RoleInformation import RoleInformation
 import fnmatch
 import re, os, sys, string, tarfile
-from Products.ERP5Type.Cache import clearCache
+from Products.ERP5Type.Cache import clearAllCache
 from DateTime import DateTime
 from OFS.Traversable import NotFound
 from OFS import XMLExportImport
@@ -4161,7 +4161,7 @@
 
       # It is better to clear cache because the installation of a template
       # adds many new things into the portal.
-      clearCache()
+      clearAllCache()
 
     security.declareProtected(Permissions.ManagePortal, 'install')
     def install(self, **kw):
@@ -4217,7 +4217,7 @@
           item.uninstall(local_configuration)
       # It is better to clear cache because the uninstallation of a
       # template deletes many things from the portal.
-      clearCache()
+      clearAllCache()
 
     uninstall = WorkflowMethod(uninstall)
 




More information about the Erp5-report mailing list