Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0
    • None
    • Performance
    • MOODLE_20_STABLE
    • Moderate

    Description

      We use is_enrolled() repeatedly, unfortunately it does DB access and capability test each time...
      We could store the result somewhere in PAGE or cache it internally.

      This could remove some queries on nearly each page.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skodak Petr Skoda
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: