MDL-55266 user: New WS core_user_get_user_preferences

This commit is contained in:
Juan Leyva
2016-07-28 12:08:58 +02:00
parent d1a3ea62ef
commit 45fec98358
4 changed files with 165 additions and 1 deletions
+8
View File
@@ -871,6 +871,14 @@ $functions = array(
'capabilities' => 'moodle/user:viewdetails',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_user_get_user_preferences' => array(
'classname' => 'core_user_external',
'methodname' => 'get_user_preferences',
'classpath' => 'user/externallib.php',
'description' => 'Return user preferences.',
'type' => 'read',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
// Competencies functions.
'core_competency_create_competency_framework' => array(