mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +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 = ?
|
||||
AND l.id > ?
|
||||
AND l.course IS NOT NULL
|
||||
ORDER by l.id ASC
|
||||
LIMIT 500";
|
||||
ORDER by l.id ASC";
|
||||
|
||||
$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) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user