mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 08:52:20 +02:00
Update Smarty to 3.1.3
This commit is contained in:
@@ -32,9 +32,9 @@ class Smarty_Internal_Method_ClearAllCache
|
||||
*/
|
||||
public function clearAllCache(Smarty $smarty, $exp_time = null, $type = null)
|
||||
{
|
||||
$smarty->_clearTemplateCache();
|
||||
// load cache resource and call clearAll
|
||||
$_cache_resource = Smarty_CacheResource::load($smarty, $type);
|
||||
$_cache_resource->invalidLoadedCache($smarty);
|
||||
return $_cache_resource->clearAll($smarty, $exp_time);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user