r74099 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74098‎ | r74099 | r74100 >
Date:20:17, 1 October 2010
Author:reedy
Status:ok
Tags:
Comment:
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
Modified paths:
  • /trunk/phase3/includes/api/ApiMove.php (modified) (history)
  • /trunk/phase3/includes/api/ApiUserrights.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMove.php
@@ -233,7 +233,7 @@
234234 ) );
235235 }
236236
237 - public function needsToken() {
 237+ public function needsToken() {
238238 return true;
239239 }
240240
Index: trunk/phase3/includes/api/ApiUserrights.php
@@ -121,10 +121,6 @@
122122 return 'Add/remove a user to/from groups';
123123 }
124124
125 - public function getPossibleErrors() {
126 - return parent::getPossibleErrors();
127 - }
128 -
129125 public function needsToken() {
130126 return true;
131127 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r74217MFT r74098, r74099...reedy15:53, 3 October 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74095Remove error from ApiUserrights getPossibleErrors, it doesn't explicitally th...reedy19:37, 1 October 2010

Status & tagging log