From 8bad04279a4f7783e7655d9837bbfb87dbbc9be8 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 17 Dec 2010 15:43:16 +0000 Subject: [PATCH] Same as r78533, but 5 lines down --- includes/db/Database.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 5b6254a7ec..24596eb4ee 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2414,12 +2414,8 @@ abstract class DatabaseBase implements DatabaseType { $error = $this->sourceStream( $fp, $lineCallback, $resultCallback, $fname ); } catch ( MWException $e ) { - if ( defined( "MEDIAWIKI_INSTALL" ) ) { - $error = $e->getMessage(); - } else { - fclose( $fp ); - throw $e; - } + fclose( $fp ); + throw $e; } fclose( $fp ); -- 2.20.1