mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Mnet: Bugfix for keepalive client
This commit is contained in:
parent
92186abc95
commit
3d7e44684f
@ -413,7 +413,7 @@ class auth_plugin_mnet
|
||||
* @return void
|
||||
*/
|
||||
function keepalive_client() {
|
||||
global $CFG;
|
||||
global $CFG, $MNET;
|
||||
$cutoff = time() - 300; // TODO - find out what the remote server's session
|
||||
// cutoff is, and preempt that
|
||||
|
||||
@ -467,6 +467,7 @@ class auth_plugin_mnet
|
||||
} else {
|
||||
debugging("Server side error has occured on host $mnethostid: " .
|
||||
join("\n", $mnet_request->error));
|
||||
break;
|
||||
}
|
||||
|
||||
$query = "SELECT
|
||||
|
Loading…
x
Reference in New Issue
Block a user