mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-37077 webservices: Define the ws api method for deleting calendar events
This commit is contained in:
parent
ca48fe5f97
commit
5e1350abaa
@ -643,6 +643,19 @@ $functions = array(
|
||||
- similar to core get_component_strings() call',
|
||||
'type' => 'read',
|
||||
),
|
||||
|
||||
|
||||
// === Calendar related functions ===
|
||||
|
||||
'core_calendar_delete_calendar_events' => array(
|
||||
'classname' => 'core_calendar_external',
|
||||
'methodname' => 'delete_calendar_events',
|
||||
'description' => 'Delete calendar events',
|
||||
'classpath' => 'calendar/externallib.php',
|
||||
'type' => 'write',
|
||||
'capabilities'=> 'moodle/calendar:manageentries', 'moodle/calendar:manageownentries', 'moodle/calendar:managegroupentries'
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
$services = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user