From 21d9f020ae3ef5c7cbac5c2c4f955e163052ea70 Mon Sep 17 00:00:00 2001
From: Dani Palou <dani@moodle.com>
Date: Thu, 2 Feb 2017 09:26:26 +0100
Subject: [PATCH] MDL-57844 message: Add some message WS to the Mobile service

---
 lib/db/services.php | 3 +++
 version.php         | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/db/services.php b/lib/db/services.php
index 9dbead8f038..afabd035e87 100644
--- a/lib/db/services.php
+++ b/lib/db/services.php
@@ -702,6 +702,7 @@ $functions = array(
         'description' => 'Retrieve the template data for the conversation list',
         'type' => 'read',
         'ajax' => true,
+        'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
     ),
     'core_message_data_for_messagearea_contacts' => array(
         'classname' => 'core_message_external',
@@ -710,6 +711,7 @@ $functions = array(
         'description' => 'Retrieve the template data for the contact list',
         'type' => 'read',
         'ajax' => true,
+        'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
     ),
     'core_message_data_for_messagearea_messages' => array(
         'classname' => 'core_message_external',
@@ -718,6 +720,7 @@ $functions = array(
         'description' => 'Retrieve the template data for the messages',
         'type' => 'read',
         'ajax' => true,
+        'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
     ),
     'core_message_data_for_messagearea_get_most_recent_message' => array(
         'classname' => 'core_message_external',
diff --git a/version.php b/version.php
index a7955651778..b806b7e5293 100644
--- a/version.php
+++ b/version.php
@@ -29,7 +29,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$version  = 2017020200.00;              // YYYYMMDD      = weekly release date of this DEV branch.
+$version  = 2017020200.01;              // YYYYMMDD      = weekly release date of this DEV branch.
                                         //         RR    = release increments - 00 in DEV branches.
                                         //           .XX = incremental changes.