Merge branch 'MDL-59876-master' of git://github.com/jleyva/moodle

This commit is contained in:
Damyon Wiese 2017-11-13 10:47:49 +08:00
commit dbf0819d92
2 changed files with 7 additions and 7 deletions

View file

@ -252,7 +252,7 @@ class core_enrol_external extends external_api {
'preferences' => new external_multiple_structure(
new external_single_structure(
array(
'name' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preferences'),
'name' => new external_value(PARAM_RAW, 'The name of the preferences'),
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
)
), 'User preferences', VALUE_OPTIONAL),
@ -725,7 +725,7 @@ class core_enrol_external extends external_api {
'preferences' => new external_multiple_structure(
new external_single_structure(
array(
'name' => new external_value(PARAM_ALPHANUMEXT, 'The name of the preferences'),
'name' => new external_value(PARAM_RAW, 'The name of the preferences'),
'value' => new external_value(PARAM_RAW, 'The value of the custom field'),
)
), 'User preferences', VALUE_OPTIONAL),