/** * Sets the group of the user * * @param $user_id * * @param $group_id */ public function SetGroup($user_id, $group_id) { if ($this->GroupExists($group_id)) { $this->users->SetUserGroup($user_id, $group_id); } }