mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[feature/template-engine] Delete useless assignment by reference for $lang.
PHPBB3-9726
This commit is contained in:
parent
c58b09e65d
commit
66cef00589
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user