mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[ticket/16307] Fix SQL time reporting when debug.sql_explain parameter is set
PHPBB3-16307
This commit is contained in:
parent
126b17898d
commit
75c03dd81e
@ -1037,12 +1037,6 @@ abstract class driver implements driver_interface
|
||||
function sql_report($mode, $query = '')
|
||||
{
|
||||
global $cache, $starttime, $phpbb_root_path, $phpbb_path_helper;
|
||||
global $request;
|
||||
|
||||
if (is_object($request) && !$request->variable('explain', false))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$query && $this->query_hold != '')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user