mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-40913 core_message: removed 'view' add_to_log call
This commit is contained in:
parent
5b09190975
commit
7cd6abf28a
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue