dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c174592
)
Make protect.php maintenance script not ignore --user and --reason parameters
author
rlot
<rj23@protonmail.com>
Tue, 29 Nov 2016 13:38:01 +0000
(14:38 +0100)
committer
rlot
<rj23@protonmail.com>
Tue, 29 Nov 2016 15:57:19 +0000
(16:57 +0100)
Google Code-In task
Bug: T89713
Change-Id: If4832fb54011af171a74b0b1a59df207b5209044
maintenance/protect.php
patch
|
blob
|
history
diff --git
a/maintenance/protect.php
b/maintenance/protect.php
index
31b2101
..
f6bb253
100644
(file)
--- a/
maintenance/protect.php
+++ b/
maintenance/protect.php
@@
-41,8
+41,8
@@
class Protect extends Maintenance {
}
public function execute() {
- $userName = $this->getOption( 'u', false );
- $reason = $this->getOption( 'r', '' );
+ $userName = $this->getOption( 'u
ser
', false );
+ $reason = $this->getOption( 'r
eason
', '' );
$cascade = $this->hasOption( 'cascade' );