Manual:Hooks/UserAddGroup

Details
Return false to override stock group addition.


 * $user: the user object that is to have a group added
 * &$group: the group to add, can be modified