From c2a1bc67bf1ef76d7751e4a60966d4d41dc0120f Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 24 Oct 2010 21:02:57 +0000 Subject: [PATCH] Comment out unused if (code inside it is commented out --- includes/db/DatabaseMysql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/db/DatabaseMysql.php b/includes/db/DatabaseMysql.php index 75e28f379f..07a4042ccd 100644 --- a/includes/db/DatabaseMysql.php +++ b/includes/db/DatabaseMysql.php @@ -76,10 +76,10 @@ class DatabaseMysql extends DatabaseBase { # Create a new connection... $this->mConn = mysql_connect( $realServer, $user, $password, true ); } - if ($this->mConn === false) { + #if ( $this->mConn === false ) { #$iplus = $i + 1; #wfLogDBError("Connect loop error $iplus of $max ($server): " . mysql_errno() . " - " . mysql_error()."\n"); - } + #} } $phpError = $this->restoreErrorHandler(); # Always log connection errors -- 2.20.1