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

Replace add_to_log with an event trigger - completion

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Events API, Logging
    • 20
    • BACKEND Sprint 3

    Description

      Replace the add_to_log calls in the following directories, with new events which contains the same information:

      Completion
      /course/completion.php:138: add_to_log($course->id, 'course', 'completion updated', 'completion.php?id='.$course->id);
      /report/completion/user.php:53: add_to_log($course->id, 'course', 'report completion', "report/completion/user.php?id=$user->id&course=$course->id", $course->id);

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              abgreeve Adrian Greeve
              Adrian Greeve Adrian Greeve
              Marina Glancy Marina Glancy
              Ankit Agarwal Ankit Agarwal
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13