Tweak r44049: remove 'showEditUserGroupsForm' hook altogether
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 3 Dec 2008 06:14:15 +0000 (06:14 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 3 Dec 2008 06:14:15 +0000 (06:14 +0000)
docs/hooks.txt
includes/specials/SpecialUserrights.php

index 7a40302..00c5f5a 100644 (file)
@@ -1400,11 +1400,6 @@ $addergroups : Array of groups that the user is in
                                        'add-self'    => array( addablegroups to self ),
                                        'remove-self' => array( removable groups from self )
                                )
-
-'UserRights::showEditUserGroupsForm': called right before the form to edit group memberships at Special:UserRights is shown
-&$user: User or UserRightsProxy you're editing
-&$groups: Array of groups the user is in
-
 'UserRetrieveNewTalks': called when retrieving "You have new messages!" message(s)
 $user: user retrieving new talks messages
 $talks: array of new talks page(s)
index 43ca318..ce0097b 100644 (file)
@@ -349,8 +349,6 @@ class UserrightsPage extends SpecialPage {
        protected function showEditUserGroupsForm( $user, $groups ) {
                global $wgOut, $wgUser, $wgLang;
 
-               wfRunHooks( 'UserRights::showEditUserGroupsForm', array( &$user, &$groups ) );
-
                $list = array();
                foreach( $groups as $group )
                        $list[] = self::buildGroupLink( $group );