mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
MDL-55393 message: New WS get_user_notification_preferences
This commit is contained in:
parent
53522c6e38
commit
e86f0cb4a1
4 changed files with 209 additions and 1 deletions
|
@ -814,6 +814,15 @@ $functions = array(
|
|||
'ajax' => true,
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
'core_message_get_user_notification_preferences' => array(
|
||||
'classname' => 'core_message_external',
|
||||
'methodname' => 'get_user_notification_preferences',
|
||||
'classpath' => 'message/externallib.php',
|
||||
'description' => 'Get the notification preferences for a given user.',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'moodle/user:editownmessageprofile',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
'core_notes_create_notes' => array(
|
||||
'classname' => 'core_notes_external',
|
||||
'methodname' => 'create_notes',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue