MDL-40913 core_message: removed 'view' add_to_log call

This commit is contained in:
Mark Nelson 2014-02-19 22:13:13 -08:00
parent 5b09190975
commit 7cd6abf28a

View file

@ -127,9 +127,6 @@ function message_print_contact_selector($countunreadtotal, $viewing, $user1, $us
&& has_capability('moodle/course:viewparticipants', $coursecontexts[$courseidtoshow])) { && has_capability('moodle/course:viewparticipants', $coursecontexts[$courseidtoshow])) {
message_print_participants($coursecontexts[$courseidtoshow], $courseidtoshow, $PAGE->url, $showactionlinks, null, $page, $user2); message_print_participants($coursecontexts[$courseidtoshow], $courseidtoshow, $PAGE->url, $showactionlinks, null, $page, $user2);
} else {
//shouldn't get here. User trying to access a course they're not in perhaps.
add_to_log(SITEID, 'message', 'view', 'index.php', $viewing);
} }
} }