Lines Matching refs:groups
11 * This manages profile changes and allows the user to change their oauth groups.
56 * Save groups for all the services a user has enabled
71 // we want to modify the user's groups
72 $groups = $USERINFO['grps']; //current groups
74 // something already defined new groups
75 $groups = $event->data['params'][1]['grps'];
86 $groups[] = $service;
88 $idx = array_search($service, $groups);
89 if ($idx !== false) unset($groups[$idx]);
92 $groups = array_unique($groups);
95 $event->data['params'][1]['grps'] = $groups;