dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-encode in utf-8 and removed trailing whitespaces
[lhc/web/wiklou.git]
/
maintenance
/
createAndPromote.php
diff --git
a/maintenance/createAndPromote.php
b/maintenance/createAndPromote.php
index
af4a1da
..
a5a8f88
100644
(file)
--- a/
maintenance/createAndPromote.php
+++ b/
maintenance/createAndPromote.php
@@
-3,7
+3,8
@@
/**
* Maintenance script to create an account and grant it administrator rights
*
/**
* Maintenance script to create an account and grant it administrator rights
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
* @author Rob Church <robchur@gmail.com>
*/
@@
-38,7
+39,7
@@
if( !is_object( $user ) ) {
# Insert the account into the database
$user->addToDatabase();
$user->setPassword( $password );
# Insert the account into the database
$user->addToDatabase();
$user->setPassword( $password );
-$user->s
etToken
();
+$user->s
aveSettings
();
# Promote user
$user->addGroup( 'sysop' );
# Promote user
$user->addGroup( 'sysop' );