Manual:Hooks/UserGroupsChanged

Details

 * $user: User whose groups changed
 * $added: Groups added
 * $removed: Groups removed
 * $performer: User who performed the change, false if via autopromotion