// Fix smarty cache

This commit is contained in:
rGaillard committed 2012-05-29 12:06:17 +00:00
1 parent e504432dd8
commit 962a954d5b
1 file changed
-2
-2
View File
@@ -1946,9 +1946,7 @@ FileETag INode MTime Size
*/ */
public static function clearCache($smarty, $tpl = false, $cache_id = null, $compile_id = null) public static function clearCache($smarty, $tpl = false, $cache_id = null, $compile_id = null)
{ {
if (!$tpl)
return $smarty->clearAllCache(); return $smarty->clearAllCache();
return $smarty->clearCache($tpl, $cache_id, $compile_id);
} }
/** /**