MDL-58333 core_calendar: Make WS available to Mobile

Part of MDL-55611 epic.
This commit is contained in:
Andrew Nicols
2017-04-04 11:01:43 +01:00
committed by Dan Poltawski
parent 80ece0847e
commit 569d091b03
+3
View File
@@ -83,6 +83,7 @@ $functions = array(
'type' => 'read',
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries',
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_calendar_get_action_events_by_course' => array(
'classname' => 'core_calendar_external',
@@ -92,6 +93,7 @@ $functions = array(
'type' => 'read',
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries',
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_calendar_get_action_events_by_courses' => array(
'classname' => 'core_calendar_external',
@@ -101,6 +103,7 @@ $functions = array(
'type' => 'read',
'capabilities' => 'moodle/calendar:manageentries, moodle/calendar:manageownentries, moodle/calendar:managegroupentries',
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_cohort_add_cohort_members' => array(
'classname' => 'core_cohort_external',