diff --git a/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php b/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php index 27a84042..82c8d4c3 100644 --- a/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php +++ b/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php @@ -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 { diff --git a/libs/sysplugins/smarty_template_compiled.php b/libs/sysplugins/smarty_template_compiled.php index 28ba1203..c148210e 100644 --- a/libs/sysplugins/smarty_template_compiled.php +++ b/libs/sysplugins/smarty_template_compiled.php @@ -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;