mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10586] Do not pass as reference
PHPBB3-10586
This commit is contained in:
parent
9a8b3ff449
commit
7071110d9a
1 changed files with 5 additions and 6 deletions
|
@ -66,12 +66,11 @@ abstract class phpbb_extension_controller implements phpbb_extension_controller_
|
||||||
global $request, $db, $user, $template, $config;
|
global $request, $db, $user, $template, $config;
|
||||||
global $phpEx, $phpbb_root_path;
|
global $phpEx, $phpbb_root_path;
|
||||||
|
|
||||||
$this->request =& $request;
|
$this->request = $request;
|
||||||
$this->db =& $db;
|
$this->db = $db;
|
||||||
$this->user =& $user;
|
$this->user = $user;
|
||||||
$this->template =& $template;
|
$this->template = $template;
|
||||||
$this->config =& $config;
|
$this->config = $config;
|
||||||
|
|
||||||
$this->phpEx = $phpEx;
|
$this->phpEx = $phpEx;
|
||||||
$this->phpbb_root_path = $phpbb_root_path;
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue