[feature/template-engine] Delete useless assignment by reference for $lang.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev 2011-07-10 03:41:09 -04:00
parent c58b09e65d
commit 66cef00589
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class phpbb_template_renderer_eval implements phpbb_template_renderer
$_template = $this->template; $_template = $this->template;
$_tpldata = &$context->get_data_ref(); $_tpldata = &$context->get_data_ref();
$_rootref = &$context->get_root_ref(); $_rootref = &$context->get_root_ref();
$_lang = &$lang; $_lang = $lang;
eval($this->code); eval($this->code);
} }

View file

@ -52,7 +52,7 @@ class phpbb_template_renderer_include implements phpbb_template_renderer
$_template = $this->template; $_template = $this->template;
$_tpldata = &$context->get_data_ref(); $_tpldata = &$context->get_data_ref();
$_rootref = &$context->get_root_ref(); $_rootref = &$context->get_root_ref();
$_lang = &$lang; $_lang = $lang;
include($this->path); include($this->path);
} }