MDL-40913 core_message: removed 'view' add_to_log call
This commit is contained in:
@@ -127,9 +127,6 @@ function message_print_contact_selector($countunreadtotal, $viewing, $user1, $us
|
||||
&& has_capability('moodle/course:viewparticipants', $coursecontexts[$courseidtoshow])) {
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user