aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Rogers <fbrogers@gmail.com>2012-08-21 10:20:35 -0300
committerAndreas Fischer <bantu@phpbb.com>2012-08-23 15:41:57 +0200
commit73cd044f5c81a1600f63103a33318e20163f5095 (patch)
tree2eede3ad3542497478f6a8165b5e6d22da164132
parentac81611b90cc07887d67012a19fa7f6422870d51 (diff)
downloadforums-73cd044f5c81a1600f63103a33318e20163f5095.tar
forums-73cd044f5c81a1600f63103a33318e20163f5095.tar.gz
forums-73cd044f5c81a1600f63103a33318e20163f5095.tar.bz2
forums-73cd044f5c81a1600f63103a33318e20163f5095.tar.xz
forums-73cd044f5c81a1600f63103a33318e20163f5095.zip
[ticket/11066] Remove debug code error_reporting(E_ALL) from mssqlnative.php
For some reason, all errors are just flipped on before connecting to the database, despite the system as a whole having a different setting for displayable errors. Had to add & ~E_STRICT in PHP 5.4.5 to suppress Strict Standards messages, but I would assume that the db piece shouldn't be involved with setting error_reporting at all. PHPBB3-11066
-rw-r--r--phpBB/includes/db/mssqlnative.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/includes/db/mssqlnative.php b/phpBB/includes/db/mssqlnative.php
index ff2f369706..3ad0ff3e11 100644
--- a/phpBB/includes/db/mssqlnative.php
+++ b/phpBB/includes/db/mssqlnative.php
@@ -219,7 +219,6 @@ class dbal_mssqlnative extends dbal
$this->server = $sqlserver . (($port) ? $port_delimiter . $port : '');
//connect to database
- error_reporting(E_ALL);
$this->db_connect_id = sqlsrv_connect($this->server, array(
'Database' => $this->dbname,
'UID' => $this->user,