Fix $row = $row = $.... and unused variable from r85885
authorSam Reed <reedy@users.mediawiki.org>
Sat, 16 Apr 2011 11:22:14 +0000 (11:22 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 16 Apr 2011 11:22:14 +0000 (11:22 +0000)
includes/installer/Ibm_db2Installer.php

index d2f916f..0e24773 100644 (file)
@@ -214,8 +214,7 @@ class Ibm_db2Installer extends DatabaseInstaller {
                                $status->fatal( 'config-connection-error', '' );
                        }
                        else {
-                               $nRows = $this->db->numRows( $result );
-                               while ( $row = $row = $this->db->fetchRow( $result ) ) {
+                               while ( $row = $this->db->fetchRow( $result ) ) {
                                        if( $row[0] >= 32768 ) {
                                                return $status;
                                        }