Skip to content

Commit

Permalink
Merge branch 'MDL-73514' of https://github.com/stronk7/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdef committed Feb 3, 2022
2 parents 8890a73 + fcbe439 commit a5a3f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mnet/peer.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function bootstrap($wwwroot, $pubkey, $application) {
return false;
}
$this->bootstrapped = true;
return true;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion mnet/xmlrpc/serverlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a5a3f87

Please sign in to comment.