Commit e40cac10 authored by Aurel's avatar Aurel

use clearAllCache instead of clearCache

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13151 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dcba32b7
......@@ -56,7 +56,7 @@ from Products.ERP5Type.XMLObject import XMLObject
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 @@ Business Template is a set of definitions, such as skins, portal types and categ
# 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 @@ Business Template is a set of definitions, such as skins, portal types and categ
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)
......
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