* Modified hook UserRights::showEditUserGroupsForm to actually be able to do
authorNathaniel Herman <pinky@users.mediawiki.org>
Sat, 29 Nov 2008 20:52:14 +0000 (20:52 +0000)
committerNathaniel Herman <pinky@users.mediawiki.org>
Sat, 29 Nov 2008 20:52:14 +0000 (20:52 +0000)
commit39d96012ecaad2530d825f613b64a91265806f8d
tree2ceb4b62cee0bfd904d8225dd03faf8b4a2f63d9
parentf52a47c2a16674b624f32a41e825837fb0b429a7
* Modified hook UserRights::showEditUserGroupsForm to actually be able to do
  something, before it was using $addable and $removable which are not used in
  the showEditUserGroupsForm function since r32610, now it uses $groups instead.
* Changed a $user->getGroups call in showEditUserGroupsForm to use $groups
  instead, the function is passed $groups, which is supposed to be an array of
  groups the user is in, so no point in getting the array again
* Removed a useless line of code in showEditUserGroupsForm
  "list( $addable, $removable ) = $this->splitGroups( $groups );"
  this was never removed from when $addable and $removable were changed to
  just $groups, and so it does nothing and is just confusing.
docs/hooks.txt
includes/specials/SpecialUserrights.php