1441 |
ariadna |
1 |
# core_message (subsystem) Upgrade notes
|
|
|
2 |
|
|
|
3 |
## 5.0.2+
|
|
|
4 |
|
|
|
5 |
### Added
|
|
|
6 |
|
|
|
7 |
- The `contexturl` property to `\core\message\message` instances can now contain `\core\url` values in addition to plain strings
|
|
|
8 |
|
|
|
9 |
For more information see [MDL-83080](https://tracker.moodle.org/browse/MDL-83080)
|
|
|
10 |
|
|
|
11 |
## 5.0.2
|
|
|
12 |
|
|
|
13 |
### Added
|
|
|
14 |
|
|
|
15 |
- The web service `core_message_get_member_info` additionally returns `cancreatecontact` which is a boolean value for a user's permission to add a contact.
|
|
|
16 |
|
|
|
17 |
For more information see [MDL-72123](https://tracker.moodle.org/browse/MDL-72123)
|
|
|
18 |
|
|
|
19 |
## 4.5
|
|
|
20 |
|
|
|
21 |
### Changed
|
|
|
22 |
|
|
|
23 |
- The `\core_message\helper::togglecontact_link_params()` method now accepts a new optional `$isrequested` parameter to indicate the status of the contact request.
|
|
|
24 |
|
|
|
25 |
For more information see [MDL-81428](https://tracker.moodle.org/browse/MDL-81428)
|
|
|
26 |
|
|
|
27 |
### Deprecated
|
|
|
28 |
|
|
|
29 |
- The `core_message/remove_contact_button` template is deprecated and will be removed in a future release.
|
|
|
30 |
|
|
|
31 |
For more information see [MDL-81428](https://tracker.moodle.org/browse/MDL-81428)
|
|
|
32 |
|
|
|
33 |
### Removed
|
|
|
34 |
|
|
|
35 |
- Final deprecation of the `MESSAGE_DEFAULT_LOGGEDOFF`, and `MESSAGE_DEFAULT_LOGGEDIN` constants.
|
|
|
36 |
|
|
|
37 |
For more information see [MDL-73284](https://tracker.moodle.org/browse/MDL-73284)
|