// Fix smarty cache
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15733 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
855f72be70
commit
37b31eeeeb
1 file changed
+1
-3
+1
-3
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user