aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2020-01-22 21:22:45 +0100
committerMarc Alexander <admin@m-a-styles.de>2020-01-22 21:22:45 +0100
commite31c05f065c9602e21f81631e4ac3b798fc5935c (patch)
treed05f9e97fa6333c7e7a6395ec382d0ec23b68b55
parentMerge branch '3.3.x' (diff)
parentMerge pull request #5822 from rxu/ticket/16307 (diff)
downloadphpbb-e31c05f065c9602e21f81631e4ac3b798fc5935c.tar.gz
phpbb-e31c05f065c9602e21f81631e4ac3b798fc5935c.tar.bz2
phpbb-e31c05f065c9602e21f81631e4ac3b798fc5935c.zip
Merge branch '3.3.x'
-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 != '')
{