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

Add performance related functions to accesslib from MDL-38596

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.5
    • None
    • 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
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: