mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-79313 calendar: Deprecate calendar_top_controls()
This commit is contained in:
parent
48ddffbe88
commit
89ed58fe74
@ -1672,11 +1672,14 @@ function calendar_get_events_by_id($eventids) {
|
||||
/**
|
||||
* Get control options for calendar.
|
||||
*
|
||||
* @deprecated since Moodle 4.3
|
||||
* @param string $type of calendar
|
||||
* @param array $data calendar information
|
||||
* @return string $content return available control for the calender in html
|
||||
* @return string $content return available control for the calendar in html
|
||||
*/
|
||||
function calendar_top_controls($type, $data) {
|
||||
debugging(__FUNCTION__ . ' has been deprecated and should not be used anymore.', DEBUG_DEVELOPER);
|
||||
|
||||
global $PAGE, $OUTPUT;
|
||||
|
||||
// Get the calendar type we are using.
|
||||
|
@ -4,6 +4,7 @@ information provided here is intended especially for developers.
|
||||
=== 4.3 ===
|
||||
* The `navigation` property has been removed from `\core_calendar\external\day_exporter` as it is not being used by any of the
|
||||
calendar templates.
|
||||
* calendar_top_controls() has been deprecated and should no longer be used.
|
||||
|
||||
=== 4.1 ===
|
||||
* New method `calendar_format_event_location` which will format the location property of an event, converting any
|
||||
|
Loading…
x
Reference in New Issue
Block a user