1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 12:33:29 +01:00

[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;
$_tpldata = &$context->get_data_ref();
$_rootref = &$context->get_root_ref();
$_lang = &$lang;
$_lang = $lang;
eval($this->code);
}

View File

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