mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12687] Fix the namespace of $request
PHPBB3-12687
This commit is contained in:
parent
d70554760f
commit
f7f65fe6c2
1 changed files with 2 additions and 2 deletions
|
@ -5032,11 +5032,11 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||||
/**
|
/**
|
||||||
* Check and display the SQL report if requested.
|
* Check and display the SQL report if requested.
|
||||||
*
|
*
|
||||||
* @param phpbb\request\request $request Request object
|
* @param \phpbb\request\request_interface $request Request object
|
||||||
* @param \phpbb\auth\auth $auth Auth object
|
* @param \phpbb\auth\auth $auth Auth object
|
||||||
* @param \phpbb\db\driver\driver_interface $db Database connection
|
* @param \phpbb\db\driver\driver_interface $db Database connection
|
||||||
*/
|
*/
|
||||||
function phpbb_check_and_display_sql_report(phpbb\request\request $request, \phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db)
|
function phpbb_check_and_display_sql_report(\phpbb\request\request_interface $request, \phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db)
|
||||||
{
|
{
|
||||||
if ($request->variable('explain', false) && $auth->acl_get('a_') && defined('DEBUG'))
|
if ($request->variable('explain', false) && $auth->acl_get('a_') && defined('DEBUG'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue