Merge branch 'MDL-42956-26' of git://github.com/lameze/moodle into MOODLE_26_STABLE

This commit is contained in:
Dan Poltawski
2014-05-06 10:18:44 +08:00
+2 -3
View File
@@ -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;