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

Add performance related functions to accesslib from MDL-38596

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5
    • Fix Version/s: DEV backlog
    • Component/s: Roles / Access
    • Labels:
    • Affected Branches:
      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

              • Assignee:
                moodle.com moodle.com
                Reporter:
                damyon Damyon Wiese
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: