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

Add performance related functions to accesslib from MDL-38596

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Minor
    • None
    • 2.5
    • Roles / Access
    • MOODLE_25_STABLE

    Description

      In MDL-38596 coursecatlib gained a bunch of enrolment logic in order to implement a cache for course contacts. These functions need to be moved into accesslib where they belong so they can be reused.

      Candidates: ensure_users_enrolled and some get_users_with_roles($contextids) function.

      Low priority - it's too late to refactor this before 2.5.

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              damyon Damyon Wiese
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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