- optimization move subtemplate processing back into template object

This commit is contained in:
uwetews
2015-12-23 03:08:23 +01:00
parent 8a0562fb58
commit db2cace210
10 changed files with 192 additions and 218 deletions
+2 -4
View File
@@ -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();
}
}