MDL-57393 core_calendar: Add external functions to the mobile service
We are including: - core_calendar_create_calendar_events - core_calendar_delete_calendar_events
This commit is contained in:
+4
-2
@@ -56,7 +56,8 @@ $functions = array(
|
||||
'description' => 'Create calendar events',
|
||||
'classpath' => 'calendar/externallib.php',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries'
|
||||
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
'core_calendar_delete_calendar_events' => array(
|
||||
'classname' => 'core_calendar_external',
|
||||
@@ -64,7 +65,8 @@ $functions = array(
|
||||
'description' => 'Delete calendar events',
|
||||
'classpath' => 'calendar/externallib.php',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries'
|
||||
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
'core_calendar_get_calendar_events' => array(
|
||||
'classname' => 'core_calendar_external',
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2017032400.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2017032400.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user