public function mustBePosted() { return true; }
- protected function getAllowedParams() {
+ public function getAllowedParams() {
return array (
'id' => null,
'user' => null,
);
}
- protected function getParamDescription() {
+ public function getParamDescription() {
return array (
'id' => 'ID of the block you want to unblock (obtained through list=blocks). Cannot be used together with user',
'user' => 'Username, IP address or IP range you want to unblock. Cannot be used together with id',
);
}
- protected function getDescription() {
+ public function getDescription() {
return array(
'Unblock a user.'
);