Permalink
Browse files

MDL-31133 calendar: Deleting the deprecated function calendar_get_eve…

…nts()
  • Loading branch information...
1 parent f468956 commit 064f0c8ac331850f9e92e3c2c4b01b67f2d8946a @ankitagarwal ankitagarwal committed May 9, 2012
Showing with 0 additions and 17 deletions.
  1. +0 −17 calendar/lib.php
View
@@ -621,23 +621,6 @@ function calendar_add_event_metadata($event) {
}
/**
- * Prints a calendar event
- *
- * @deprecated Moodle 2.0 - MDL-22887 please do not use this function any more.
- * @todo MDL-31133 - will be removed in Moodle 2.3
- * @see core_calendar_renderer event function
- */
-function calendar_print_event($event, $showactions=true) {
- global $CFG, $USER, $OUTPUT, $PAGE;
- debugging('calendar_print_event is deprecated please update your code', DEBUG_DEVELOPER);
- $renderer = $PAGE->get_renderer('core_calendar');
- if (!($event instanceof calendar_event)) {
- $event = new calendar_event($event);
- }
- echo $renderer->event($event);
-}
-
-/**
* Get calendar events
*
* @param int $tstart Start time of time range for events

0 comments on commit 064f0c8

Please sign in to comment.