1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/15910] Pass object arguments by reference implicitly

PHPBB3-15910
This commit is contained in:
kasimi
2018-12-12 12:34:16 +01:00
parent 73fd2f3573
commit 83f4074116
21 changed files with 45 additions and 45 deletions

View File

@@ -51,7 +51,7 @@ class gd extends captcha_abstract
return 'CAPTCHA_GD';
}
function acp_page($id, &$module)
function acp_page($id, $module)
{
global $user, $template, $phpbb_log, $request;
global $config;

View File

@@ -33,7 +33,7 @@ class gd_wave extends captcha_abstract
return '\\phpbb\\captcha\\gd_wave';
}
function acp_page($id, &$module)
function acp_page($id, $module)
{
global $user;

View File

@@ -33,7 +33,7 @@ class nogd extends captcha_abstract
return '\\phpbb\\captcha\\non_gd';
}
function acp_page($id, &$module)
function acp_page($id, $module)
{
global $user;

View File

@@ -638,7 +638,7 @@ class qa
/**
* API function - The ACP backend, this marks the end of the easy methods
*/
function acp_page($id, &$module)
function acp_page($id, $module)
{
global $config, $request, $phpbb_log, $template, $user;
@@ -776,7 +776,7 @@ class qa
/**
* This handles the list overview
*/
function acp_question_list(&$module)
function acp_question_list($module)
{
global $db, $template;

View File

@@ -66,7 +66,7 @@ class recaptcha extends captcha_abstract
throw new \Exception('No generator class given.');
}
function acp_page($id, &$module)
function acp_page($id, $module)
{
global $config, $template, $user, $phpbb_log, $request;