mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/template-engine] Delete useless assignment by reference for $lang.
PHPBB3-9726
This commit is contained in:
parent
c58b09e65d
commit
66cef00589
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue