From ab855aaacc1f9a51bb42bcb17d85b96060136178 Mon Sep 17 00:00:00 2001 From: donal Date: Tue, 12 Feb 2008 22:27:47 +0000 Subject: [PATCH] MDL-12492: This patch addresses a problem which prevents hosts from re-keying when their keys expire. --- mnet/remote_client.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mnet/remote_client.php b/mnet/remote_client.php index 991ad5c541..0cfd06df70 100644 --- a/mnet/remote_client.php +++ b/mnet/remote_client.php @@ -48,7 +48,9 @@ class mnet_remote_client extends mnet_peer { } function refresh_key() { + global $CFG; // set up an RPC request + require_once $CFG->dirroot.'/mnet/xmlrpc/client.php'; $mnetrequest = new mnet_xmlrpc_client(); // Use any method - listServices is pretty lightweight. $mnetrequest->set_method('system/listServices'); -- 2.39.5