From: toyomoyo Date: Tue, 2 May 2006 02:44:35 +0000 (+0000) Subject: added logging for blog views X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=92a019ac0452f3aff007e6c296ac22280fa854e0;p=moodle.git added logging for blog views --- diff --git a/blog/index.php b/blog/index.php index 9a57c4f18f..1dbb28bff1 100755 --- a/blog/index.php +++ b/blog/index.php @@ -151,6 +151,8 @@ $blogpage = optional_param('blogpage',0,PARAM_INT); blog_print_html_formatted_entries($userid, $postid, $limit, ($blogpage * $limit) ,$filtertype, $filterselect, $tagid, $tag, $filtertype, $filterselect); +add_to_log($site->id, 'blog', 'view', 'index.php?filtertype='.$filtertype.'&filterselect='.$filterselect.'&postid='.$postid.'&tagid='.$tagid.'&tag='.$tag, 'view blog entry'); + include($CFG->dirroot .'/blog/footer.php'); ?>