mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-73000 webservice: Fix external_warnings message type
This commit is contained in:
parent
16a5169a43
commit
dba18ce3b6
@ -857,7 +857,7 @@ class external_warnings extends external_multiple_structure {
|
||||
'item' => new external_value(PARAM_TEXT, $itemdesc, VALUE_OPTIONAL),
|
||||
'itemid' => new external_value(PARAM_INT, $itemiddesc, VALUE_OPTIONAL),
|
||||
'warningcode' => new external_value(PARAM_ALPHANUM, $warningcodedesc),
|
||||
'message' => new external_value(PARAM_TEXT,
|
||||
'message' => new external_value(PARAM_RAW,
|
||||
'untranslated english message to explain the warning')
|
||||
), 'warning'),
|
||||
'list of warnings', VALUE_OPTIONAL);
|
||||
|
@ -128,6 +128,7 @@ completely removed from Moodle core too.
|
||||
-get_safe_orderby() - where a single sort parameter is required.
|
||||
-get_safe_orderby_multiple() - where multiple sort parameters are required.
|
||||
* Added the cleanstr mustache template helper to clean strings after loading them from language packs.
|
||||
* The type for the "message" field in the external_warnings() structure has been changed from PARAM_TEXT to PARAM_RAW
|
||||
|
||||
=== 3.11.4 ===
|
||||
* A new option dontforcesvgdownload has been added to the $options parameter of the send_file() function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user