1441 |
ariadna |
1 |
# core_calendar (subsystem) Upgrade notes
|
|
|
2 |
|
|
|
3 |
## 5.0
|
|
|
4 |
|
|
|
5 |
### Deprecated
|
|
|
6 |
|
|
|
7 |
- Initial deprecation of calendar_sub_month. Use \core_calendar\type_factory::get_calendar_instance()->get_prev_month() instead.
|
|
|
8 |
|
|
|
9 |
For more information see [MDL-79434](https://tracker.moodle.org/browse/MDL-79434)
|
|
|
10 |
- calendar_day_representation(), calendar_time_representation() and calendar_format_event_time() functions have been deprecated and can't be used anymore. Use humandate and humantimeperiod classes instead.
|
|
|
11 |
|
|
|
12 |
For more information see [MDL-83873](https://tracker.moodle.org/browse/MDL-83873)
|
|
|
13 |
- calendar_get_courselink(), calendar_events_by_day() functions have been deprecated.
|
|
|
14 |
|
|
|
15 |
For more information see [MDL-84617](https://tracker.moodle.org/browse/MDL-84617)
|
|
|
16 |
- Initial deprecation of calendar_add_month(). Use \core_calendar\type_factory::get_calendar_instance()->get_next_month() instead.
|
|
|
17 |
|
|
|
18 |
For more information see [MDL-84657](https://tracker.moodle.org/browse/MDL-84657)
|
|
|
19 |
|
|
|
20 |
### Removed
|
|
|
21 |
|
|
|
22 |
- Final removal of calendar functions:
|
|
|
23 |
- calendar_top_controls()
|
|
|
24 |
- calendar_get_link_previous()
|
|
|
25 |
- calendar_get_link_next()
|
|
|
26 |
|
|
|
27 |
For more information see [MDL-79434](https://tracker.moodle.org/browse/MDL-79434)
|
|
|
28 |
- prepare_for_view(), calendar_add_event_metadata() functions have been removed.
|
|
|
29 |
|
|
|
30 |
For more information see [MDL-84617](https://tracker.moodle.org/browse/MDL-84617)
|
|
|
31 |
- core_calendar_renderer::event() method has been removed.
|
|
|
32 |
|
|
|
33 |
For more information see [MDL-84617](https://tracker.moodle.org/browse/MDL-84617)
|