mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-04 03:40:53 +02:00
new _clearTemplateCache() method
This commit is contained in:
@@ -207,15 +207,4 @@ abstract class Smarty_CacheResource
|
||||
// give up
|
||||
throw new SmartyException("Unable to load cache resource '{$type}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Invalid Loaded Cache Files
|
||||
*
|
||||
* @param Smarty $smarty Smarty object
|
||||
*/
|
||||
public function invalidLoadedCache(Smarty $smarty)
|
||||
{
|
||||
$smarty->_cache['isCached'] = array();
|
||||
$smarty->_cache['tplObjects'] = array();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user