MDL-56637 ws: Add core_user_update_user_preferences to Mobile service
[moodle.git] / 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,
         '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',
     ),
     'core_user_view_user_list' => array(
         'classname' => 'core_user_external',