mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
adding missing global breaking some mnet jumping
This commit is contained in:
parent
09511cd3be
commit
6c6b2b1024
1 changed files with 2 additions and 0 deletions
|
@ -9572,6 +9572,8 @@ function set_mnet_remote_client($client) {
|
|||
* @param stdclass $user the user to get the idp url for
|
||||
*/
|
||||
function mnet_get_idp_jump_url($user) {
|
||||
global $CFG;
|
||||
|
||||
static $mnetjumps = array();
|
||||
if (!array_key_exists($user->mnethostid, $mnetjumps)) {
|
||||
$idp = mnet_get_peer_host($user->mnethostid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue