From beeadbf7831d410bb6e63f7316a988807e18d0af Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 28 Aug 2018 16:51:45 +0800 Subject: [PATCH] MDL-63211 core: updated upgrade.txt files --- lib/upgrade.txt | 5 +++++ message/upgrade.txt | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/lib/upgrade.txt b/lib/upgrade.txt index 6d6ecec95fb56..288ed76e1bc6b 100644 --- a/lib/upgrade.txt +++ b/lib/upgrade.txt @@ -130,6 +130,11 @@ any group. Besides, groups_get_members_ids_sql, get_enrolled_sql and get_enrolle the groupid field. * Added $CFG->conversionattemptlimit setting to config.php allowing a maximum number of retries before giving up conversion of a given document by the assignfeedback_editpdf\task\convert_submissions task. Default value: 3. +* The following events have been deprecated and should not be used any more: + - message_contact_blocked + - message_contact_unblocked + The reason for this is because you can now block/unblock users without them necessarily being a contact. These events + have been replaced with message_user_blocked and message_user_unblocked respectively. === 3.5 === diff --git a/message/upgrade.txt b/message/upgrade.txt index 4f40560f8ffd8..bd7cf3ec048bf 100644 --- a/message/upgrade.txt +++ b/message/upgrade.txt @@ -19,6 +19,17 @@ information provided here is intended especially for developers. * message_can_post_message() * message_is_user_non_contact_blocked() * message_is_user_blocked() +* The following functions have been deprecated and should not be used any more: + - message_add_contact() + - message_remove_contact() + - message_unblock_contact() + - message_block_contact() + - message_get_contact() + Please see their declaration in lib/deprecatedlib.php to view their alternatives (if applicable). +* The following web services have been deprecated. Please do not call these any more. + - core_message_external::block_contacts, please use core_message_external::block_user instead. + - core_message_external::unblock_contacts, please use core_message_external::unblock_user instead. + - core_message_external::create_contacts, please use core_message_external::create_contact_request instead. === 3.5 ===