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

calendar_get_upcoming was removed and should not have been

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker 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

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

            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

              Created:
              Updated:
              Resolved:

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