mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-42956 auth: Fix hard-coded LIMIT clause on keepalive_client method.
This commit is contained in:
parent
a0461340ff
commit
5ad9dd5ff2
@ -775,10 +775,9 @@ class auth_plugin_mnet extends auth_plugin_base {
|
|||||||
u.mnethostid = ?
|
u.mnethostid = ?
|
||||||
AND l.id > ?
|
AND l.id > ?
|
||||||
AND l.course IS NOT NULL
|
AND l.course IS NOT NULL
|
||||||
ORDER by l.id ASC
|
ORDER by l.id ASC";
|
||||||
LIMIT 500";
|
|
||||||
|
|
||||||
$mnethostlogs = $DB->get_records_sql($mnethostlogssql, array($mnethostid, $mnet_request->response['last log id']));
|
$mnethostlogs = $DB->get_records_sql($mnethostlogssql, array($mnethostid, $mnet_request->response['last log id']), 0, 500);
|
||||||
|
|
||||||
if ($mnethostlogs == false) {
|
if ($mnethostlogs == false) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user