From d81f562b712f2387fa02290bf2ca86392ab356f2 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 20:21:25 +0000 Subject: Aktualisierung auf Version 1.8.1 --- maintenance/createAndPromote.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'maintenance/createAndPromote.php') diff --git a/maintenance/createAndPromote.php b/maintenance/createAndPromote.php index df29c114..43ddcdd1 100644 --- a/maintenance/createAndPromote.php +++ b/maintenance/createAndPromote.php @@ -18,8 +18,7 @@ if( !count( $args ) == 2 ) { $username = $args[0]; $password = $args[1]; -global $wgDBname; -echo( "{$wgDBname}: Creating and promoting User:{$username}..." ); +echo( wfWikiID() . ": Creating and promoting User:{$username}..." ); # Validate username and check it doesn't exist $user = User::newFromName( $username ); @@ -45,4 +44,4 @@ $ssu->doUpdate(); echo( "done.\n" ); -?> \ No newline at end of file +?> -- cgit v1.2.2