mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-55347 user: New WS core_user_set_users_preferences
This commit is contained in:
parent
ddd8dc0d1b
commit
649777fb8d
4 changed files with 222 additions and 1 deletions
|
@ -905,6 +905,15 @@ $functions = array(
|
|||
'capabilities' => 'moodle/user:editownprofile, moodle/user:editprofile',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
'core_user_set_user_preferences' => array(
|
||||
'classname' => 'core_user_external',
|
||||
'methodname' => 'set_user_preferences',
|
||||
'classpath' => 'user/externallib.php',
|
||||
'description' => 'Set user preferences.',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'moodle/site:config',
|
||||
),
|
||||
|
||||
// Competencies functions.
|
||||
'core_competency_create_competency_framework' => array(
|
||||
'classname' => 'core_competency\external',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue