mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 12:14:12 +02:00
- optimization move subtemplate processing back into template object
This commit is contained in:
@@ -216,8 +216,6 @@ abstract class Smarty_CacheResource
|
||||
public function invalidLoadedCache(Smarty $smarty)
|
||||
{
|
||||
$smarty->_cache['isCached'] = array();
|
||||
if (isset($smarty->ext->_subtemplate)) {
|
||||
$smarty->ext->_subtemplate->tplObjects = array();
|
||||
}
|
||||
}
|
||||
$smarty->_cache['tplObjects'] = array();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user