From 3e3ea127fd0c9ab501e976caca6484cef59a6322 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 1 Oct 2010 20:17:01 +0000 Subject: [PATCH] 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 --- includes/api/ApiMove.php | 2 +- includes/api/ApiUserrights.php | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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; } -- 2.20.1