Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ssj365 committed Jun 26, 2024
1 parent 932f1e4 commit 030962d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classes/locallib/bigbluebutton.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,10 @@ public static function user_can_access_groups($groupid, $user, $course, $cm) {
return true;
}
if ($groupmode == VISIBLEGROUPS or $aag) {

$allowedgroups = groups_get_all_groups($course->id, $user->id, $course->defaultgroupingid);
} else {
}
else {
$allowedgroups = groups_get_all_groups($course->id, $user->id, $course->defaultgroupingid);
}
foreach ($allowedgroups as $g) {
Expand Down

0 comments on commit 030962d

Please sign in to comment.