mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Merge branch 'MDL-73514' of https://github.com/stronk7/moodle
This commit is contained in:
commit
a5a3f87a76
@ -107,6 +107,7 @@ class mnet_peer {
|
||||
return false;
|
||||
}
|
||||
$this->bootstrapped = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -530,7 +530,7 @@ function mnet_keyswap($function, $params) {
|
||||
|
||||
if (!empty($CFG->mnet_register_allhosts)) {
|
||||
$mnet_peer = new mnet_peer();
|
||||
@list($wwwroot, $pubkey, $application) = each($params);
|
||||
list($wwwroot, $pubkey, $application) = $params;
|
||||
$keyok = $mnet_peer->bootstrap($wwwroot, $pubkey, $application);
|
||||
if ($keyok) {
|
||||
$mnet_peer->commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user