From f63ceb1c0543e6a265f12f3a2b22f281039b482f Mon Sep 17 00:00:00 2001 From: uwetews Date: Wed, 9 Mar 2016 02:44:38 +0100 Subject: [PATCH] - remove access to removed an not needed property --- .../sysplugins/smarty_internal_method_clearcompiledtemplate.php | 2 -- libs/sysplugins/smarty_template_compiled.php | 1 - 2 files changed, 3 deletions(-) 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;