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

Replace add_to_log with an event trigger - mod_page

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.6
    • 2.5
    • Events API, Logging
    • 20
    • BACKEND Sprint 5

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

      mod/page
      /mod/page/index.php:36:add_to_log($course->id, 'page', 'view all', "index.php?id=$course->id", '');
      /mod/page/view.php:54:add_to_log($course->id, 'page', 'view', 'view.php?id='.$cm->id, $page->id, $cm->id);

            ankit_frenz Ankit Agarwal
            abgreeve Adrian Greeve
            Frédéric Massart Frédéric Massart
            Sam Hemelryk Sam Hemelryk
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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