mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints
This commit is contained in:
parent
e8c2189d78
commit
98da60215e
31 changed files with 137 additions and 214 deletions
|
@ -531,7 +531,7 @@ function chat_get_users($chatid, $groupid=0, $groupingid=0) {
|
|||
$groupselect = "";
|
||||
}
|
||||
|
||||
if (!empty($CFG->enablegroupings) && !(empty($groupingid))) {
|
||||
if (!empty($groupingid)) {
|
||||
$groupingjoin = "JOIN {groups_members} gm ON u.id = gm.userid
|
||||
JOIN {groupings_groups} gg ON gm.groupid = gg.groupid AND gg.groupingid = :groupingid ";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue