mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-51281 completion: Fixed incorrect returned parameter type
Parameter status in external function get_course_completion_status
This commit is contained in:
parent
1dabedeedf
commit
edf6db6547
@ -365,7 +365,7 @@ class core_completion_external extends external_api {
|
||||
'type' => new external_value(PARAM_TEXT, 'Type description'),
|
||||
'criteria' => new external_value(PARAM_RAW, 'Criteria description'),
|
||||
'requirement' => new external_value(PARAM_TEXT, 'Requirement description'),
|
||||
'status' => new external_value(PARAM_TEXT, 'Status description'),
|
||||
'status' => new external_value(PARAM_RAW, 'Status description, can be anything'),
|
||||
), 'details'),
|
||||
), 'Completions'
|
||||
), ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user