Index: trunk/phase3/config/Installer.php |
— | — | @@ -1249,7 +1249,7 @@ |
1250 | 1250 | if ( $conf->DBtype == 'mysql' && version_compare( $myver, "4.1.2", "ge" ) ) { |
1251 | 1251 | $res = $wgDatabase->query( 'SHOW ENGINES' ); |
1252 | 1252 | $found = false; |
1253 | | - while ( $row = $wgDatabase->fetchObject( $res ) ) { |
| 1253 | + foreach ( $res as $row ) { |
1254 | 1254 | if ( $row->Engine == $conf->DBengine && ( $row->Support == 'YES' || $row->Support == 'DEFAULT' ) ) { |
1255 | 1255 | $found = true; |
1256 | 1256 | break; |