mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-66360 grade: Correct argument order in params
This commit is contained in:
parent
237ddb313f
commit
656f2e5a38
@ -77,17 +77,17 @@ class store extends external_api {
|
||||
'The ID of the user show',
|
||||
VALUE_REQUIRED
|
||||
),
|
||||
'formdata' => new external_value(
|
||||
PARAM_RAW,
|
||||
'The serialised form data representing the grade',
|
||||
VALUE_REQUIRED
|
||||
),
|
||||
'notifyuser' => new external_value(
|
||||
PARAM_BOOL,
|
||||
'Wheteher to notify the user or not',
|
||||
VALUE_DEFAULT,
|
||||
false
|
||||
),
|
||||
'formdata' => new external_value(
|
||||
PARAM_RAW,
|
||||
'The serialised form data representing the grade',
|
||||
VALUE_REQUIRED
|
||||
),
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -76,17 +76,17 @@ class store extends external_api {
|
||||
'The ID of the user show',
|
||||
VALUE_REQUIRED
|
||||
),
|
||||
'formdata' => new external_value(
|
||||
PARAM_RAW,
|
||||
'The serialised form data representing the grade',
|
||||
VALUE_REQUIRED
|
||||
),
|
||||
'notifyuser' => new external_value(
|
||||
PARAM_BOOL,
|
||||
'Wheteher to notify the user or not',
|
||||
VALUE_DEFAULT,
|
||||
false
|
||||
),
|
||||
'formdata' => new external_value(
|
||||
PARAM_RAW,
|
||||
'The serialised form data representing the grade',
|
||||
VALUE_REQUIRED
|
||||
),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user