Manual:Hooks/ChangeUserGroups

Details
This occurs before a user's group memberships are changed.
 * $performer: The User who will perform the change
 * $user: The User whose groups will be changed
 * &$add: The groups that will be added
 * &$remove: The groups that will be removed