1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 18:11:47 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2020-01-22 21:22:45 +01:00

View File

@@ -1037,12 +1037,6 @@ abstract class driver implements driver_interface
function sql_report($mode, $query = '') function sql_report($mode, $query = '')
{ {
global $cache, $starttime, $phpbb_root_path, $phpbb_path_helper; 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 != '') if (!$query && $this->query_hold != '')
{ {