Skip to content

Commit

Permalink
gradebook MDL-24021 filter out deleted users from the user selector t…
Browse files Browse the repository at this point in the history
…hat is used in the user and overview report
  • Loading branch information
Andrew Davis committed Sep 2, 2010
1 parent f914e8d commit b593bf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grade/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ public function init() {
FROM {user} u
INNER JOIN {role_assignments} ra ON u.id = ra.userid
$groupsql
WHERE ra.roleid $gradebookroles_sql
WHERE u.deleted=0
AND ra.roleid $gradebookroles_sql
AND ra.contextid $relatedcontexts
$groupwheresql
ORDER BY $order";
Expand Down

0 comments on commit b593bf4

Please sign in to comment.