r48814 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48813‎ | r48814 | r48815 >
Date:13:44, 25 March 2009
Author:werdna
Status:ok
Tags:
Comment:
Remove constraint that $user must be a User object in SpecialUserrights, can also be a UserrightsProxy
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserrights.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserrights.php
@@ -161,7 +161,7 @@
162162 * @param $reason String: reason for group change
163163 * @return Array: Tuple of added, then removed groups
164164 */
165 - static function doSaveUserGroups( User $user, $add, $remove, $reason = '' ) {
 165+ static function doSaveUserGroups( $user, $add, $remove, $reason = '' ) {
166166 global $wgUser;
167167
168168 // Validate input set...

Follow-up revisions

RevisionCommit summaryAuthorDate
r48909Revert r48746 (API userrights). Breaks Special:GlobalGroupMembership by chang...werdna05:59, 27 March 2009
r50094* Backported r48814/r48909: revert of API user rights feature. The rewritten ...tstarling06:24, 1 May 2009

Status & tagging log