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

Replace add_to_log with an event trigger - grade

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.7
    • Gradebook
    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • w14_MDL-40910_m27_usergraded
    • Hide

      1/execute phpunit tests
      2/ test all 3 ways to alter grades in gradebook - normal grader report, ajax grader report (see grader report settings) and individual grade edit form
      3/ verify the log entries are added to the mdl_logstore_standard_log table if the store is enabled

      Show
      1/execute phpunit tests 2/ test all 3 ways to alter grades in gradebook - normal grader report, ajax grader report (see grader report settings) and individual grade edit form 3/ verify the log entries are added to the mdl_logstore_standard_log table if the store is enabled
    • 13
    • BACKEND Sprint 12

    Description

      Replace the add_to_log calls for the following area, with a call to the get_legacy_logdata function in the event class.

      grade
      ./grade/report/grader/ajax_callbacks.php:127: add_to_log($course->id, 'grade', 'update', $url, $info);
      ./grade/report/grader/lib.php:309: add_to_log($this->course->id, 'grade', 'update', $url, $info);
      ./grade/edit/tree/grade.php:212: add_to_log($course->id, 'grade', 'update', $url, $info);
      ./grade/edit/tree/grade.php:239: add_to_log($course->id, 'grade', 'update', $url, $info);

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              abgreeve Adrian Greeve
              Ankit Agarwal Ankit Agarwal
              Marina Glancy Marina Glancy
              Michael de Raadt Michael de Raadt
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14