mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-79432-master' of https://github.com/junpataleta/moodle
This commit is contained in:
commit
346fe1f78a
@ -1936,6 +1936,7 @@ function calendar_get_link_href($linkbase, $d, $m, $y, $time = 0) {
|
||||
/**
|
||||
* Build and return a previous month HTML link, with an arrow.
|
||||
*
|
||||
* @deprecated since Moodle 4.3
|
||||
* @param string $text The text label.
|
||||
* @param string|moodle_url $linkbase The URL stub.
|
||||
* @param int $d The number of the date.
|
||||
@ -1947,6 +1948,8 @@ function calendar_get_link_href($linkbase, $d, $m, $y, $time = 0) {
|
||||
* @return string HTML string.
|
||||
*/
|
||||
function calendar_get_link_previous($text, $linkbase, $d, $m, $y, $accesshide = false, $time = 0) {
|
||||
debugging(__FUNCTION__ . ' has been deprecated and should not be used anymore.', DEBUG_DEVELOPER);
|
||||
|
||||
$href = calendar_get_link_href(new \moodle_url($linkbase), $d, $m, $y, $time);
|
||||
|
||||
if (empty($href)) {
|
||||
@ -1964,6 +1967,7 @@ function calendar_get_link_previous($text, $linkbase, $d, $m, $y, $accesshide =
|
||||
/**
|
||||
* Build and return a next month HTML link, with an arrow.
|
||||
*
|
||||
* @deprecated since Moodle 4.3
|
||||
* @param string $text The text label.
|
||||
* @param string|moodle_url $linkbase The URL stub.
|
||||
* @param int $d the number of the Day
|
||||
@ -1975,6 +1979,8 @@ function calendar_get_link_previous($text, $linkbase, $d, $m, $y, $accesshide =
|
||||
* @return string HTML string.
|
||||
*/
|
||||
function calendar_get_link_next($text, $linkbase, $d, $m, $y, $accesshide = false, $time = 0) {
|
||||
debugging(__FUNCTION__ . ' has been deprecated and should not be used anymore.', DEBUG_DEVELOPER);
|
||||
|
||||
$href = calendar_get_link_href(new \moodle_url($linkbase), $d, $m, $y, $time);
|
||||
|
||||
if (empty($href)) {
|
||||
|
@ -4,7 +4,10 @@ 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.
|
||||
* The following functions have been deprecated and should no longer be used:
|
||||
- calendar_top_controls()
|
||||
- calendar_get_link_previous()
|
||||
- calendar_get_link_next()
|
||||
|
||||
=== 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