From: donal72 Date: Thu, 11 Jan 2007 05:38:45 +0000 (+0000) Subject: Mnet: Bugfix for keepalive client X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3d7e44684f8d8da17032dda450e15fb209d97110;p=moodle.git Mnet: Bugfix for keepalive client --- diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php index 7e0307bac3..ba3fbb0c3f 100644 --- a/auth/mnet/auth.php +++ b/auth/mnet/auth.php @@ -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