Skip to content

Commit

Permalink
[Usergroup] completing removing unnecesary code related to session wh…
Browse files Browse the repository at this point in the history
…en only managing base course with usergroup in the funcion -refs BT#18607
  • Loading branch information
NicoDucou committed Apr 26, 2021
1 parent 36c890d commit 774847e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main/user/class.php
Expand Up @@ -103,8 +103,7 @@
if (!empty($id)) {
$usergroup->unsubscribe_courses_from_usergroup(
$id,
[api_get_course_int_id()],
$sessionId
[api_get_course_int_id()]
);
Display::addFlash(Display::return_message(get_lang('Deleted')));
$user_list = $usergroup->get_users_by_usergroup($id);
Expand Down

0 comments on commit 774847e

Please sign in to comment.