mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-59994 competency: dont list competencies from deleted users
This commit is contained in:
parent
91cbdda6af
commit
8c13028c9d
@ -1349,7 +1349,8 @@ class api {
|
||||
JOIN {user} u
|
||||
ON u.id = uc.userid
|
||||
WHERE (uc.status = :waitingforreview
|
||||
OR (uc.status = :inreview AND uc.reviewerid = :reviewerid))";
|
||||
OR (uc.status = :inreview AND uc.reviewerid = :reviewerid))
|
||||
AND u.deleted = 0";
|
||||
$ordersql = " ORDER BY c.shortname ASC";
|
||||
$params = array(
|
||||
'inreview' => user_competency::STATUS_IN_REVIEW,
|
||||
|
Loading…
x
Reference in New Issue
Block a user