From 37b31eeeeb2de4c7b12cadb9c1f0c97e90df3ef3 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Tue, 29 May 2012 12:06:17 +0000 Subject: [PATCH] // Fix smarty cache git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15733 b9a71923-0436-4b27-9f14-aed3839534dd --- 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(); } /**