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

Manual completion of a course does not log

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_26_STABLE

      Description

      Within the manual course completion, where a teacher etc gives approval for the completion of a course through the Course Completion block, there is no tracking through the logs to see who has passed the student and when.
      As part of education is all about auditability, I feel we need a simple way to track this.

      I suggest the following line be added to \course\togglecompletion.php so a line is written to the log file each time a teacher manually passes a student.

      add_to_log($course->id, 'user', 'manual course completion', "/view.php?id=$user", "Marked staff as complete", $USER->id);

      I presently have it at line 61, however perhaps there is a better place for it. Additionally, if there is better wording or coding, feel free to change.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pnbowen@gmail.com Peter Bowen
            Participants:
            Component watchers:
            Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: