Skip to content

Commit

Permalink
MDL-49501 messages: Add mark_message_read to the mobile service
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyva committed Apr 2, 2015
1 parent 31c474d commit a84f89c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions lib/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,15 @@
'capabilities' => '',
),

'core_message_mark_message_read' => array(
'classname' => 'core_message_external',
'methodname' => 'mark_message_read',
'classpath' => 'message/externallib.php',
'description' => 'Mark a single message as read, trigger message_viewed event.',
'type' => 'write',
'capabilities' => '',
),

// === notes related functions ===

'moodle_notes_create_notes' => array(
Expand Down Expand Up @@ -1068,6 +1077,7 @@
'core_course_view_course',
'core_completion_get_activities_completion_status',
'core_notes_get_course_notes',
'core_message_mark_message_read',
),
'enabled' => 0,
'restrictedusers' => 0,
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

defined('MOODLE_INTERNAL') || die();

$version = 2015040200.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2015040200.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.

Expand Down

0 comments on commit a84f89c

Please sign in to comment.