Skip to content

Commit

Permalink
MDL-41520 LTI: Does not track page views for completion
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-josh committed Oct 4, 2013
1 parent c777836 commit 92b226d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mod/lti/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@

require_login($course);

// Mark viewed by user (if required).
$completion = new completion_info($course);
$completion->set_module_viewed($cm);

add_to_log($course->id, "lti", "view", "view.php?id=$cm->id", "$lti->id");

$pagetitle = strip_tags($course->shortname.': '.format_string($lti->name));
Expand Down

0 comments on commit 92b226d

Please sign in to comment.