MDL-13843 user participation in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level)
This commit is contained in:
+1
-2
@@ -144,8 +144,7 @@
|
||||
$currentgroup = NULL;
|
||||
}
|
||||
|
||||
$isseparategroups = ($course->groupmode == SEPARATEGROUPS and $course->groupmodeforce and
|
||||
!has_capability('moodle/site:accessallgroups', $context));
|
||||
$isseparategroups = ($course->groupmode == SEPARATEGROUPS and !has_capability('moodle/site:accessallgroups', $context));
|
||||
|
||||
if ($isseparategroups and (!$currentgroup) ) {
|
||||
$navlinks = array();
|
||||
|
||||
Reference in New Issue
Block a user