Mnet: Bugfix for keepalive client

This commit is contained in:
donal72
2007-01-11 05:38:45 +00:00
parent 92186abc95
commit 3d7e44684f
+2 -1
View File
@@ -413,7 +413,7 @@ class auth_plugin_mnet
* @return void * @return void
*/ */
function keepalive_client() { function keepalive_client() {
global $CFG; global $CFG, $MNET;
$cutoff = time() - 300; // TODO - find out what the remote server's session $cutoff = time() - 300; // TODO - find out what the remote server's session
// cutoff is, and preempt that // cutoff is, and preempt that
@@ -467,6 +467,7 @@ class auth_plugin_mnet
} else { } else {
debugging("Server side error has occured on host $mnethostid: " . debugging("Server side error has occured on host $mnethostid: " .
join("\n", $mnet_request->error)); join("\n", $mnet_request->error));
break;
} }
$query = "SELECT $query = "SELECT