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
Cleanup a few unused globals
[lhc/web/wiklou.git]
/
maintenance
/
protect.php
diff --git
a/maintenance/protect.php
b/maintenance/protect.php
index
56958ea
..
e772d67
100644
(file)
--- a/
maintenance/protect.php
+++ b/
maintenance/protect.php
@@
-35,8
+35,6
@@
class Protect extends Maintenance {
}
public function execute() {
- global $wgUser;
-
$userName = $this->getOption( 'u', 'Maintenance script' );
$reason = $this->getOption( 'r', '' );