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

calendar_get_upcoming was removed and should not have been

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.4
    • 3.4
    • Calendar
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60763-master
    • Hide

      None of the plugins in the plugins DB have been updated for 3.3, with the exception of theme_crisp, which has been updated for 3.4 and already uses the new Calendar API.

      Therefore, these testing instructions are developer-focused:

      1. Add some events to your site
      2. open my/index.php in your editor
      3. find the section just after the header, and add:

        require_once($CFG->dirroot . '/calendar/lib.php');
        $calendar = calendar_information::create(time(), SITEID);
        print_object(calendar_get_upcoming($calendar->courses, true, true, 30, 30));
        

      4. view your dashboard
        1. Confirm that you see your events which are in the next 30 days
      Show
      None of the plugins in the plugins DB have been updated for 3.3, with the exception of theme_crisp , which has been updated for 3.4 and already uses the new Calendar API. Therefore, these testing instructions are developer-focused: Add some events to your site open my/index.php in your editor find the section just after the header, and add: require_once($CFG->dirroot . '/calendar/lib.php'); $calendar = calendar_information::create(time(), SITEID); print_object(calendar_get_upcoming($calendar->courses, true, true, 30, 30)); view your dashboard Confirm that you see your events which are in the next 30 days

    Description

      This was removed in MDL-60092. It should not have been.

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.