- optimization of tag attribute compiling

This commit is contained in:
uwetews
2016-02-14 19:58:55 +01:00
parent 7e36f98c1d
commit 30328d318c
14 changed files with 52 additions and 56 deletions
@@ -128,10 +128,6 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase
// assume caching is off
$_caching = Smarty::CACHING_OFF;
if ($_attr[ 'nocache' ] === true) {
$compiler->tag_nocache = true;
}
$call_nocache = $compiler->tag_nocache || $compiler->nocache;
// caching was on and {include} is not in nocache mode