/**
* Maintenance script to create an account and grant it administrator rights
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
# Insert the account into the database
$user->addToDatabase();
$user->setPassword( $password );
-$user->setToken();
+$user->saveSettings();
# Promote user
$user->addGroup( 'sysop' );