From 962a954d5bdce3a050eb270fd5e764208cd5668a Mon Sep 17 00:00:00 2001 From: rGaillard Date: Tue, 29 May 2012 12:06:17 +0000 Subject: [PATCH] // Fix smarty cache --- classes/Tools.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index 782e4cae3..0b1bdb84e 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -1946,9 +1946,7 @@ FileETag INode MTime Size */ public static function clearCache($smarty, $tpl = false, $cache_id = null, $compile_id = null) { - if (!$tpl) - return $smarty->clearAllCache(); - return $smarty->clearCache($tpl, $cache_id, $compile_id); + return $smarty->clearAllCache(); } /**