Skip to content
Browse files

MDL-37101 webservices: Define ws api core_calendar_create_calendar_ev…

…ents
  • Loading branch information...
1 parent 261a41f commit c66dc3dff53aa5feede3159495106ede3227ead4 @ankitagarwal ankitagarwal committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/db/services.php
View
8 lib/db/services.php
@@ -720,6 +720,14 @@
'capabilities'=> 'moodle/calendar:manageentries', 'moodle/calendar:manageownentries', 'moodle/calendar:managegroupentries'
),
+ 'core_calendar_create_calendar_events' => array(
+ 'classname' => 'core_calendar_external',
+ 'methodname' => 'create_calendar_events',
+ 'description' => 'Create calendar events',
+ 'classpath' => 'calendar/externallib.php',
+ 'type' => 'write',
+ 'capabilities'=> 'moodle/calendar:manageentries', 'moodle/calendar:manageownentries', 'moodle/calendar:managegroupentries'
+ ),
);
$services = array(

0 comments on commit c66dc3d

Please sign in to comment.
Something went wrong with that request. Please try again.