Permalink
Browse files

Merge branch 'MDL-23047-Add_missing_log' of https://github.com/ncsu-d…

…elta/moodle into MOODLE_19_STABLE
  • Loading branch information...
2 parents 07728bf + cefe46a commit d2a5725cd55ed8a312f4787151f43f4046fb1c3d Sam Hemelryk committed Oct 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/resource/type/file/resource.class.php
View
1 mod/resource/type/file/resource.class.php
@@ -412,6 +412,7 @@ function resizeEmbeddedHtml() {
print_simple_box(format_text($resource->summary, FORMAT_MOODLE, $formatoptions, $course->id), "center");
}
echo "</body></html>";
+ add_to_log($course->id, "resource", "view", "view.php?id={$cm->id}", $resource->id, $cm->id);
exit;
}
/// display the resource into a frame tag

0 comments on commit d2a5725

Please sign in to comment.