From d62c3ba4d93fe0884d96b628fa2cb1fbe157c63b Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 2 Jul 2005 09:05:00 +0000 Subject: [PATCH] don't break if $wgDBservers is false --- maintenance/commandLine.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/commandLine.inc b/maintenance/commandLine.inc index f2b69cb8f8..fc5147c685 100644 --- a/maintenance/commandLine.inc +++ b/maintenance/commandLine.inc @@ -155,7 +155,7 @@ if ( file_exists( '/home/wikipedia/common/langlist' ) ) { # Same with these $wgCommandLineMode = true; -if ( empty( $wgUseNormalUser ) && isset( $wgDBadminuser ) ) { +if ( empty( $wgUseNormalUser ) && isset( $wgDBadminuser ) && $wgDBservers ) { $wgDBuser = $wgDBadminuser; $wgDBpassword = $wgDBadminpassword; -- 2.20.1