~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to message/upgrade.txt

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This files describes API changes in /message/ messaging system,
2
2
information provided here is intended especially for developers.
3
3
 
 
4
=== 2.6 ===
 
5
* Message processor extending message_output, should return true in can_send_to_any_users()
 
6
  if it supports message sending to internal (noreply/support) users.
 
7
* Message API has been changed to allow attachments. Message processors that can support
 
8
  attachments can now use additional parameter as a part of $eventdata. To send attachments,
 
9
  $eventdata should contain properties called "attachment" (must be stored_file) and
 
10
  "attachname" (string). Currently, email message processor is the only one to support
 
11
  attachments.
 
12
 
4
13
=== 2.2 ===
5
14
 
6
15
required changes: