Permalink
Browse files

MDL-23047 Add resorce view to log table when viewing file set to 'Yes…

…, without frame'
  • Loading branch information...
1 parent e9e2def commit cefe46ad1682e99685b7cb31c984d5d6a262931e Glenn Ansley committed Oct 7, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 cefe46a

Please sign in to comment.