Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28443 Action logging improvements META
  3. MDL-19048

Making the logs more functional by adding more actions

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 1.9.4
    • Administration, Logging
    • None
    • MOODLE_19_STABLE
    • Easy

      The log report function could be made more useful by simply adding a few more actions to the $actions array in course/report/log/lib.php

      // Prepare the list of action options.
      $actions = array(
      'view' => get_string('view'),
      'add' => get_string('add'),
      'update' => get_string('update'),
      'attempt' => 'Quizzes',
      'view discussion' => 'Forum',
      'delete' => get_string('delete'),
      '-view' => get_string('allchanges')
      );

      A further enhancement would be to add another selector for the module so that all actions pertaining to a single module could be viewed.

            moodle.com Moodle HQ
            trobb Thomas Robb
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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