Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32604

remove references to deprecated funtion calendar_print_event

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      I got the following error when trying to delete a calendar event.

      calendar_print_event is deprecated please update your code
       
          line 632 of /calendar/lib.php: call to debugging()
          line 124 of /calendar/delete.php: call to calendar_print_event()

      Apparently the function was depreciated in 2.0 by the changes in MDL-22887, but it is still referenced in the above mentioned code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              ankit_frenz Ankit Agarwal
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: