Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-12492: This patch addresses a problem which prevents hosts from r…

…e-keying when their keys expire.
  • Loading branch information...
commit 30f5739a469235cd80b8af75ff05f46d165032e1 1 parent 1e51f8f
donal authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mnet/remote_client.php
View
2  mnet/remote_client.php
@@ -48,7 +48,9 @@ function plaintext_is_ok() {
}
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');
Please sign in to comment.
Something went wrong with that request. Please try again.