aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-23 21:24:22 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-23 21:24:22 +0200
commit7e30c1dd823686eb8e59e6e1c171a751e8af2d49 (patch)
tree9a0dee0a26572e21f5576bcddbc2c4d4b905aa23 /library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php
parent78bf4564f20df20ec8d9025c974e25546e95bf69 (diff)
downloadvolse-hubzilla-7e30c1dd823686eb8e59e6e1c171a751e8af2d49.tar.gz
volse-hubzilla-7e30c1dd823686eb8e59e6e1c171a751e8af2d49.tar.bz2
volse-hubzilla-7e30c1dd823686eb8e59e6e1c171a751e8af2d49.zip
update smarty to version 3.1.29
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php')
-rw-r--r--library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php b/library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php
index 1fe37892e..6ae0af15f 100644
--- a/library/Smarty/libs/sysplugins/smarty_internal_method_clearallcache.php
+++ b/library/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