diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php index b7a4dafed8..d2f7dc70ea 100644 --- a/phpBB/db/mysql.php +++ b/phpBB/db/mysql.php @@ -382,8 +382,6 @@ class sql_db function sql_error($sql = '') { - global $_SERVER, $_ENV; - if ( !$this->return_on_error ) { if ( $this->transaction )