diff options
Diffstat (limited to 'maintenance/createAndPromote.php')
-rw-r--r-- | maintenance/createAndPromote.php | 5 |
1 files changed, 2 insertions, 3 deletions
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 +?> |