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

Add events for grade, grade item changes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: Events API, Gradebook
    • Labels:

      Description

      While implementing the new conditional availability system MDL-44070, I have noticed that the connection between the gradebook and the current conditional availability grade caches is done by a direct hard-coded call.

      This is not really appropriate especially now that I am moving the grade condition into its own plugin and out of core.

      I think there should be events to indicate when there are changes to user grades (grade_grades table) and grade items (grade_items table).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: