mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-45062 web services: Description of method result value for update_grades_return is invalid
This commit is contained in:
parent
069fe267b6
commit
ccc165fd8e
@ -499,13 +499,10 @@ class core_grades_external extends external_api {
|
||||
* @since Moodle 2.7
|
||||
*/
|
||||
public static function update_grades_returns() {
|
||||
return new external_single_structure(
|
||||
array (
|
||||
'result' => new external_value(
|
||||
PARAM_INT,
|
||||
'A value like ' . GRADE_UPDATE_OK . ' => OK, ' . GRADE_UPDATE_FAILED . ' => FAILED
|
||||
as defined in lib/grade/constants.php')
|
||||
)
|
||||
return new external_value(
|
||||
PARAM_INT,
|
||||
'A value like ' . GRADE_UPDATE_OK . ' => OK, ' . GRADE_UPDATE_FAILED . ' => FAILED
|
||||
as defined in lib/grade/constants.php'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user