MDL-72586 message: New WebService get_unread_notification_count

This commit is contained in:
Dani Palou
2021-10-04 14:40:48 +02:00
parent 1a9bee69e6
commit 2e61125a4a
6 changed files with 273 additions and 31 deletions
+6
View File
@@ -1492,6 +1492,12 @@ $functions = array(
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_message_get_unread_notification_count' => [
'classname' => '\core_message\external\get_unread_notification_count',
'description' => 'Get number of unread notifications.',
'type' => 'read',
'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE],
],
'core_notes_create_notes' => array(
'classname' => 'core_notes_external',
'methodname' => 'create_notes',