]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12492: This patch addresses a problem which prevents hosts from re-keying when...
authordonal <donal>
Tue, 12 Feb 2008 22:27:47 +0000 (22:27 +0000)
committerdonal <donal>
Tue, 12 Feb 2008 22:27:47 +0000 (22:27 +0000)
mnet/remote_client.php

index 991ad5c541d77971ee73ed93e40a2c746fe1574d..0cfd06df70e95b18a4df9b47c49109bcd28f7296 100644 (file)
@@ -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');