diff --git a/lib/db/services.php b/lib/db/services.php index 0383b29e1e44f..6b95cf8e6a2cf 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -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( @@ -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, diff --git a/version.php b/version.php index 385d10921d1b2..31a138f1061e3 100644 --- a/version.php +++ b/version.php @@ -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.