MDL-51281 completion: Fixed incorrect returned parameter type

Parameter status in external function get_course_completion_status
This commit is contained in:
Juan Leyva 2015-09-03 15:02:20 +02:00
parent 1dabedeedf
commit edf6db6547

View File

@ -365,7 +365,7 @@ class core_completion_external extends external_api {
'type' => new external_value(PARAM_TEXT, 'Type description'), 'type' => new external_value(PARAM_TEXT, 'Type description'),
'criteria' => new external_value(PARAM_RAW, 'Criteria description'), 'criteria' => new external_value(PARAM_RAW, 'Criteria description'),
'requirement' => new external_value(PARAM_TEXT, 'Requirement 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'), ), 'details'),
), 'Completions' ), 'Completions'
), '' ), ''