// Fix smarty cache

This commit is contained in:
rGaillard
2012-05-29 12:06:17 +00:00
parent e504432dd8
commit 962a954d5b
+1 -3
View File
@@ -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();
}
/**