From: Sam Reed Date: Fri, 1 Oct 2010 20:17:01 +0000 (+0000) Subject: Minor followup to r74095, remove method as all it does is call it's parent (Thanks... X-Git-Tag: 1.31.0-rc.0~34702 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=3e3ea127fd0c9ab501e976caca6484cef59a6322;p=lhc%2Fweb%2Fwiklou.git Minor followup to r74095, remove method as all it does is call it's parent (Thanks to Nikerabbit on IRC) Remove leading tab from ApiMove --- diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index a393104b16..13b54da8f6 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -233,7 +233,7 @@ class ApiMove extends ApiBase { ) ); } - public function needsToken() { + public function needsToken() { return true; } diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php index b3b22cafb4..deb11f7930 100644 --- a/includes/api/ApiUserrights.php +++ b/includes/api/ApiUserrights.php @@ -121,10 +121,6 @@ class ApiUserrights extends ApiBase { return 'Add/remove a user to/from groups'; } - public function getPossibleErrors() { - return parent::getPossibleErrors(); - } - public function needsToken() { return true; }