mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-61576-master' of git://github.com/cescobedo/moodle
This commit is contained in:
commit
a8336b03a0
@ -70,7 +70,6 @@ $string['addnewapp'] = 'Enable external application';
|
||||
$string['addserver'] = 'Add new trusted server';
|
||||
$string['addtype'] = 'Add preconfigured tool';
|
||||
$string['allow'] = 'Allow';
|
||||
$string['allowinstructorcustom'] = 'Allow teachers to add custom parameters';
|
||||
$string['allowsetting'] = 'Allow tool to store 8K of settings in Moodle';
|
||||
$string['always'] = 'Always';
|
||||
$string['automatic'] = 'Automatic, based on tool URL';
|
||||
|
@ -567,11 +567,9 @@ function lti_build_custom_parameters($toolproxy, $tool, $instance, $params, $cus
|
||||
if ($customstr) {
|
||||
$custom = lti_split_custom_parameters($toolproxy, $tool, $params, $customstr, $islti2);
|
||||
}
|
||||
if (!isset($typeconfig['allowinstructorcustom']) || $typeconfig['allowinstructorcustom'] != LTI_SETTING_NEVER) {
|
||||
if ($instructorcustomstr) {
|
||||
$custom = array_merge(lti_split_custom_parameters($toolproxy, $tool, $params,
|
||||
$instructorcustomstr, $islti2), $custom);
|
||||
}
|
||||
if ($instructorcustomstr) {
|
||||
$custom = array_merge(lti_split_custom_parameters($toolproxy, $tool, $params,
|
||||
$instructorcustomstr, $islti2), $custom);
|
||||
}
|
||||
if ($islti2) {
|
||||
$custom = array_merge(lti_split_custom_parameters($toolproxy, $tool, $params,
|
||||
|
Loading…
x
Reference in New Issue
Block a user