From 3d7e44684f8d8da17032dda450e15fb209d97110 Mon Sep 17 00:00:00 2001 From: donal72 Date: Thu, 11 Jan 2007 05:38:45 +0000 Subject: [PATCH] Mnet: Bugfix for keepalive client --- auth/mnet/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5