mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-60608 calendar: change eventdefaultcontext default to 0
This commit is contained in:
parent
d12e409784
commit
0d049757c0
3 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ class calendar_day_exporter extends exporter {
|
||||||
],
|
],
|
||||||
'defaulteventcontext' => [
|
'defaulteventcontext' => [
|
||||||
'type' => PARAM_INT,
|
'type' => PARAM_INT,
|
||||||
'default' => null,
|
'default' => 0,
|
||||||
],
|
],
|
||||||
'filter_selector' => [
|
'filter_selector' => [
|
||||||
'type' => PARAM_RAW,
|
'type' => PARAM_RAW,
|
||||||
|
|
|
@ -74,7 +74,7 @@ class calendar_upcoming_exporter extends exporter {
|
||||||
],
|
],
|
||||||
'defaulteventcontext' => [
|
'defaulteventcontext' => [
|
||||||
'type' => PARAM_INT,
|
'type' => PARAM_INT,
|
||||||
'default' => null,
|
'default' => 0,
|
||||||
],
|
],
|
||||||
'filter_selector' => [
|
'filter_selector' => [
|
||||||
'type' => PARAM_RAW,
|
'type' => PARAM_RAW,
|
||||||
|
|
2
calendar/classes/external/month_exporter.php
vendored
2
calendar/classes/external/month_exporter.php
vendored
|
@ -171,7 +171,7 @@ class month_exporter extends exporter {
|
||||||
],
|
],
|
||||||
'defaulteventcontext' => [
|
'defaulteventcontext' => [
|
||||||
'type' => PARAM_INT,
|
'type' => PARAM_INT,
|
||||||
'default' => null,
|
'default' => 0,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue