mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'master_MDL-60276' of https://github.com/CengageEng/moodle
This commit is contained in:
commit
544321235d
@ -889,12 +889,7 @@ function lti_tool_configuration_from_content_item($typeid, $messagetype, $ltiver
|
||||
}
|
||||
if (isset($item->url)) {
|
||||
$url = new moodle_url($item->url);
|
||||
// Assign item URL to securetoolurl or toolurl depending on its scheme.
|
||||
if (strtolower($url->get_scheme()) === 'https') {
|
||||
$config->securetoolurl = $url->out(false);
|
||||
} else {
|
||||
$config->toolurl = $url->out(false);
|
||||
}
|
||||
$config->toolurl = $url->out(false);
|
||||
$config->typeid = 0;
|
||||
} else {
|
||||
$config->typeid = $typeid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user