MDL-56637 ws: Add core_user_update_user_preferences to Mobile service
authorDani Palou <dani@moodle.com>
Fri, 28 Oct 2016 10:40:18 +0000 (12:40 +0200)
committerDani Palou <dani@moodle.com>
Fri, 28 Oct 2016 10:40:18 +0000 (12:40 +0200)
lib/db/services.php

index f9445a5..9028675 100644 (file)
@@ -1050,6 +1050,7 @@ $functions = array(
         'type' => 'write',
         'capabilities' => 'moodle/user:editownmessageprofile, moodle/user:editmessageprofile',
         'ajax' => true,
+        'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
     ),
     'core_user_view_user_list' => array(
         'classname' => 'core_user_external',