From: Sam Reed Date: Sun, 24 Oct 2010 21:02:57 +0000 (+0000) Subject: Comment out unused if (code inside it is commented out X-Git-Tag: 1.31.0-rc.0~34329 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=c2a1bc67bf1ef76d7751e4a60966d4d41dc0120f;p=lhc%2Fweb%2Fwiklou.git Comment out unused if (code inside it is commented out --- 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