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

In core_calendar\local\event\factories we use $coursecache but it isn't static

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:
    • Sprint:
      3.3 Project Team Sprint 3

      Description

      Every time we instantiate this class we create an empty array so get_course_cached appears useless. Fix this.

        Attachments

          Activity

            People

            Assignee:
            cameron1729 cameron1729
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Mark Nelson
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: