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:
57440a2
)
cleanup: remove redundant condition, already checked above
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Mon, 17 Jul 2006 21:36:19 +0000
(21:36 +0000)
committer
Ilmari Karonen
<vyznev@users.mediawiki.org>
Mon, 17 Jul 2006 21:36:19 +0000
(21:36 +0000)
maintenance/update.php
patch
|
blob
|
history
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
8643aa7
..
b1ab56b
100644
(file)
--- a/
maintenance/update.php
+++ b/
maintenance/update.php
@@
-37,11
+37,7
@@
$wgDatabase = $dbc->newFromParams( $wgDBserver, $wgDBadminuser, $wgDBadminpasswo
if( !$wgDatabase->isOpen() ) {
# Appears to have failed
echo( "A connection to the database could not be established. Check the\n" );
- # Let's be a bit clever and guess at what's wrong
- if( isset( $wgDBadminuser ) && isset( $wgDBadminpassword ) ) {
- # Tell the user the value(s) are wrong
- echo( 'values of $wgDBadminuser and $wgDBadminpassword.' . "\n" );
- }
+ echo( "values of \$wgDBadminuser and \$wgDBadminpassword.\n" );
exit();
}