Comment out unused if (code inside it is commented out
authorSam Reed <reedy@users.mediawiki.org>
Sun, 24 Oct 2010 21:02:57 +0000 (21:02 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 24 Oct 2010 21:02:57 +0000 (21:02 +0000)
includes/db/DatabaseMysql.php

index 75e28f3..07a4042 100644 (file)
@@ -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