mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/template-engine] Delete useless assignment by reference for $lang.
PHPBB3-9726
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user