mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
- remove access to removed an not needed property
This commit is contained in:
@@ -49,8 +49,6 @@ class Smarty_Internal_Method_ClearCompiledTemplate
|
||||
$tpl = new $smarty->template_class($resource_name, $smarty);
|
||||
$smarty->caching = $_save_stat;
|
||||
if ($tpl->source->exists) {
|
||||
// remove from compileds cache
|
||||
$tpl->source->compileds = array();
|
||||
$_resource_part_1 = basename(str_replace('^', DS, $tpl->compiled->filepath));
|
||||
$_resource_part_1_length = strlen($_resource_part_1);
|
||||
} else {
|
||||
|
@@ -201,7 +201,6 @@ class Smarty_Template_Compiled extends Smarty_Template_Resource_Base
|
||||
*/
|
||||
public function compileTemplateSource(Smarty_Internal_Template $_template)
|
||||
{
|
||||
$_template->source->compileds = array();
|
||||
$this->file_dependency = array();
|
||||
$this->includes = array();
|
||||
$this->nocache_hash = null;
|
||||
|
Reference in New Issue
Block a user