summaryrefslogtreecommitdiff
path: root/maintenance/protect.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/protect.php')
-rw-r--r--maintenance/protect.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/maintenance/protect.php b/maintenance/protect.php
index 2f6aa1ae..ff13bd6e 100644
--- a/maintenance/protect.php
+++ b/maintenance/protect.php
@@ -58,6 +58,7 @@ class Protect extends Maintenance {
$this->error( "Invalid username", true );
}
+ // @todo FIXME: This is reset 7 lines down.
$restrictions = array( 'edit' => $protection, 'move' => $protection );
$t = Title::newFromText( $this->getArg() );