mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-36941 core_message: deprecated 'api::mark_all_read_for_user'
This commit is contained in:
parent
0d657cc9b7
commit
74ad60bfbe
5 changed files with 96 additions and 38 deletions
|
@ -4973,9 +4973,9 @@ function message_get_contact_block_link($incontactlist, $isblocked, $contact, $s
|
|||
*/
|
||||
function message_mark_messages_read($touserid, $fromuserid) {
|
||||
debugging('message_mark_messages_read() is deprecated and is no longer used, please use
|
||||
\core_message\api::mark_all_read_for_user() instead.', DEBUG_DEVELOPER);
|
||||
\core_message\api::mark_all_messages_as_read() instead.', DEBUG_DEVELOPER);
|
||||
|
||||
\core_message\api::mark_all_read_for_user($touserid, $fromuserid);
|
||||
\core_message\api::mark_all_messages_as_read($touserid, $fromuserid);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue