dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffad65b
)
Same as r78533, but 5 lines down
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 17 Dec 2010 15:43:16 +0000
(15:43 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 17 Dec 2010 15:43:16 +0000
(15:43 +0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
5b6254a
..
24596eb
100644
(file)
--- 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 );