public function mustBePosted() { return true; }
- protected function getAllowedParams() {
+ public function getAllowedParams() {
return array (
'title' => null,
'token' => null,
);
}
- protected function getParamDescription() {
+ public function getParamDescription() {
return array (
'title' => 'Title of the page you want to restore.',
'token' => 'A protect token previously retrieved through prop=info',
);
}
- protected function getDescription() {
+ public function getDescription() {
return array(
'Change the protection level of a page.'
);