From d33051cb7236a930c1baf879fee75e92c35a93ee Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 21 Jan 2016 15:10:02 +0100 Subject: update to Smarty 3.1.29 --- .../smarty/libs/sysplugins/smarty_internal_method_clearallcache.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php') diff --git a/include/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php b/include/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php index 1fe37892e..6ae0af15f 100644 --- a/include/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php +++ b/include/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php @@ -34,10 +34,7 @@ class Smarty_Internal_Method_ClearAllCache { // load cache resource and call clearAll $_cache_resource = Smarty_CacheResource::load($smarty, $type); - if ($smarty->caching_type != 'file') { - $_cache_resource->invalidLoadedCache($smarty); - } - + $_cache_resource->invalidLoadedCache($smarty); return $_cache_resource->clearAll($smarty, $exp_time); } } \ No newline at end of file -- cgit v1.2.3