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

Extend Enrolment API to cover interaction of enrol instances

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.7
    • Enrolments
    • MOODLE_27_STABLE

      At present in code we've situations where enrolment plugins manually interact with enrolment instances in the database.
      This imposes some pretty strict limitations as follows:

      • We can't change database structure, indexes, or keys for enrolment tables as we may break enrolment plugins
      • We can't implement caching of enrolment instances because we need to be 100% sure that the cache does not become stale and all interaction needs to occur through an API (MDL-29594)
      • We can't reliably log enrolment instance events.

      All we need is a little bit of API that would channel enrolment instance interaction (crud) to unblock all of these.
      Doing so would aid in pulling this segment of code up to the 21st century.

            Unassigned Unassigned
            samhemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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