mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-25369 mnet: do not show deleted peers in the remote enrolment client
This commit is contained in:
parent
3e7d386625
commit
4b457a71cc
@ -101,6 +101,7 @@ class mnetservice_enrol {
|
||||
JOIN {mnet_service} s ON hs.serviceid = s.id
|
||||
JOIN {mnet_application} a ON h.applicationid = a.id
|
||||
WHERE s.name = 'mnet_enrol'
|
||||
AND h.deleted = 0
|
||||
AND hs.publish = 1";
|
||||
$this->cachesubscribers = $DB->get_records_sql($sql);
|
||||
}
|
||||
@ -129,6 +130,7 @@ class mnetservice_enrol {
|
||||
JOIN {mnet_service} s ON hs.serviceid = s.id
|
||||
JOIN {mnet_application} a ON h.applicationid = a.id
|
||||
WHERE s.name = 'mnet_enrol'
|
||||
AND h.deleted = 0
|
||||
AND hs.subscribe = 1";
|
||||
$this->cachepublishers = $DB->get_records_sql($sql);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user