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

Replace add_to_log with an event trigger - mod_imscp

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • MDL-40916_master
    • Hide
      1. Create a course.
      2. Create an imscp resource.
      3. Click on this imscp resource.
      4. Change the view.php to index.php and the id to the id of the course in the URL.
      5. Visit <yoursite>/report/log/index.php?id=1 and click 'Get these logs'.
      6. Ensure there are two logs; viewing all imscp instances and viewing an individual imscp.
      Show
      Create a course. Create an imscp resource. Click on this imscp resource. Change the view.php to index.php and the id to the id of the course in the URL. Visit <yoursite>/report/log/index.php?id=1 and click 'Get these logs'. Ensure there are two logs; viewing all imscp instances and viewing an individual imscp.
    • 8
    • BACKEND Sprint 11

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

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

            markn Mark Nelson
            abgreeve Adrian Greeve
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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