aboutsummaryrefslogtreecommitdiff
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2020-01-22 21:22:38 +0100
committerMarc Alexander <admin@m-a-styles.de>2020-01-22 21:22:38 +0100
commitb3d07e26fcff001286b58668a8464a2c1c7e79b7 (patch)
tree36f65708bdc3e105ced59382302640904e183d32 /phpBB
parentMerge branch '3.2.x' into 3.3.x (diff)
parent[ticket/16307] Fix SQL time reporting when debug.sql_explain parameter is set (diff)
downloadphpbb-b3d07e26fcff001286b58668a8464a2c1c7e79b7.tar.gz
phpbb-b3d07e26fcff001286b58668a8464a2c1c7e79b7.tar.bz2
phpbb-b3d07e26fcff001286b58668a8464a2c1c7e79b7.zip
Merge pull request #5822 from rxu/ticket/16307
[ticket/16307] Fix SQL time reporting when debug.sql_explain parameter is set
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/db/driver/driver.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/phpbb/db/driver/driver.php b/phpBB/phpbb/db/driver/driver.php
index 93f0a749e5..2a4150b558 100644
--- a/phpBB/phpbb/db/driver/driver.php
+++ b/phpBB/phpbb/db/driver/driver.php
@@ -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 != '')
{