MDL-51637 forum: Make forum_get_discussions_paginated return group post
[moodle.git] / message / upgrade.txt
blob91906a464074263d78b2d0e706274c213ecc86eb
1 This files describes API changes in /message/ messaging system,
2 information provided here is intended especially for developers.
4 === 2.9 ===
5 * Renderer method \core_message_renderer::manage_messagingoptions now accepts a user id parameter as well.
7 === 2.6 ===
8 * Message processor extending message_output, should return true in can_send_to_any_users()
9   if it supports message sending to internal (noreply/support) users.
10 * Message API has been changed to allow attachments. Message processors that can support
11   attachments can now use additional parameter as a part of $eventdata. To send attachments,
12   $eventdata should contain properties called "attachment" (must be stored_file) and
13   "attachname" (string). Currently, email message processor is the only one to support
14   attachments.
16 === 2.2 ===
18 required changes:
19 * lib/messagelib.php message_send($eventdata)
20   $eventdata->userto should contain a property called "emailstop", $eventdata->userto->emailstop
21   If it is absent it will be retrieved from the user table causing an additional database query