Permalink
Browse files

MDL-26834 remove suspended users from the participants list

  • Loading branch information...
1 parent 56babbc commit 505c641a52cf6d58ea70e273cc93d3b79f2b902b @skodak skodak committed Mar 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/index.php
View
@@ -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();

0 comments on commit 505c641

Please sign in to comment.