Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -2414,12 +2414,8 @@ |
2415 | 2415 | $error = $this->sourceStream( $fp, $lineCallback, $resultCallback, $fname ); |
2416 | 2416 | } |
2417 | 2417 | catch ( MWException $e ) { |
2418 | | - if ( defined( "MEDIAWIKI_INSTALL" ) ) { |
2419 | | - $error = $e->getMessage(); |
2420 | | - } else { |
2421 | | - fclose( $fp ); |
2422 | | - throw $e; |
2423 | | - } |
| 2418 | + fclose( $fp ); |
| 2419 | + throw $e; |
2424 | 2420 | } |
2425 | 2421 | |
2426 | 2422 | fclose( $fp ); |