Merge branch 'MDL-66081-master' of git://github.com/lameze/moodle

This commit is contained in:
Jun Pataleta 2019-07-09 17:11:41 +08:00
commit 28ebbfd77e

View File

@ -1026,8 +1026,8 @@ class core_calendar_external extends external_api {
public static function get_calendar_monthly_view_parameters() {
return new external_function_parameters(
[
'year' => new external_value(PARAM_INT, 'Month to be viewed', VALUE_REQUIRED),
'month' => new external_value(PARAM_INT, 'Year to be viewed', VALUE_REQUIRED),
'year' => new external_value(PARAM_INT, 'Year to be viewed', VALUE_REQUIRED),
'month' => new external_value(PARAM_INT, 'Month to be viewed', VALUE_REQUIRED),
'courseid' => new external_value(PARAM_INT, 'Course being viewed', VALUE_DEFAULT, SITEID, NULL_ALLOWED),
'categoryid' => new external_value(PARAM_INT, 'Category being viewed', VALUE_DEFAULT, null, NULL_ALLOWED),
'includenavigation' => new external_value(