MDL-26834 remove suspended users from the participants list

This commit is contained in:
Petr Skoda
2011-03-16 22:10:12 +01:00
parent 56babbcb76
commit 505c641a52
+1 -1
View File
@@ -368,7 +368,7 @@
// we are looking for all users with this role assigned in this context or higher
$contextlist = get_related_contexts_string($context);
list($esql, $params) = get_enrolled_sql($context, NULL, $currentgroup);
list($esql, $params) = get_enrolled_sql($context, NULL, $currentgroup, true);
$joins = array("FROM {user} u");
$wheres = array();