mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-65093 core_message: deprecate can_post_message()
This commit is contained in:
parent
f622ee97e3
commit
06d046c1ff
7 changed files with 237 additions and 16 deletions
|
@ -2412,7 +2412,7 @@ function message_page_type_list() {
|
|||
*/
|
||||
function message_can_post_message() {
|
||||
throw new coding_exception('message_can_post_message() can not be used anymore. Please use ' .
|
||||
'\core_message\api::can_post_message() instead.');
|
||||
'\core_message\api::can_send_message() instead.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue