Merge branch 'MDL-52975-29-mnet-context' of git://github.com/mudrd8mz/moodle into MOODLE_29_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2016-02-08 22:58:12 +01:00
+1
View File
@@ -35,6 +35,7 @@ $wantsremoteurl = optional_param('remoteurl', false, PARAM_BOOL);
$url = new moodle_url('/auth/mnet/jump.php', array('token'=>$token, 'idp'=>$remotewwwroot, 'wantsurl'=>$wantsurl));
if ($wantsremoteurl !== false) $url->param('remoteurl', $wantsremoteurl);
$PAGE->set_url($url);
$PAGE->set_context(context_system::instance());
$site = get_site();