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
Merge "Made SwiftFileBackend::loadObjectListing() populate stat entries in reverse...
[lhc/web/wiklou.git]
/
maintenance
/
createAndPromote.php
diff --git
a/maintenance/createAndPromote.php
b/maintenance/createAndPromote.php
index
94a1876
..
03e6904
100644
(file)
--- a/
maintenance/createAndPromote.php
+++ b/
maintenance/createAndPromote.php
@@
-23,7
+23,7
@@
* @author Pablo Castellano <pablo@anche.no>
*/
* @author Pablo Castellano <pablo@anche.no>
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script to create an account and grant it administrator rights.
/**
* Maintenance script to create an account and grant it administrator rights.
@@
-42,7
+42,7
@@
class CreateAndPromote extends Maintenance {
$this->addOption( $role, "Add the account to the {$role} group" );
}
$this->addArg( "username", "Username of new user" );
$this->addOption( $role, "Add the account to the {$role} group" );
}
$this->addArg( "username", "Username of new user" );
- $this->addArg( "password", "Password to set (not required if --force is used)", false);
+ $this->addArg( "password", "Password to set (not required if --force is used)", false
);
}
public function execute() {
}
public function execute() {
@@
-114,4
+114,4
@@
class CreateAndPromote extends Maintenance {
}
$maintClass = "CreateAndPromote";
}
$maintClass = "CreateAndPromote";
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;