Permalink
Browse files

Merge branch 'MDL-63740-master' of git://github.com/jleyva/moodle

  • Loading branch information...
dmonllao committed Nov 7, 2018
2 parents 3c577cb + b950842 commit d33a22c037b251621629a9015ba402b3de69eb05
Showing with 14 additions and 10 deletions.
  1. +1 −0 blocks/starredcourses/db/services.php
  2. +13 −10 lib/db/services.php
@@ -33,6 +33,7 @@
'description' => 'Get users starred courses.',
'type' => 'read',
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
);
@@ -542,15 +542,26 @@
'classpath' => 'course/externallib.php',
'description' => 'List of enrolled courses for the given timeline classification (past, inprogress, or future).',
'type' => 'read',
'ajax' => true
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_course_get_recent_courses' => array(
'classname' => 'core_course_external',
'methodname' => 'get_recent_courses',
'classpath' => 'course/externallib.php',
'description' => 'List of courses a user has accessed most recently.',
'type' => 'read',
'ajax' => true
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_course_set_favourite_courses' => array(
'classname' => 'core_course_external',
'methodname' => 'set_favourite_courses',
'classpath' => 'course/externallib.php',
'description' => 'Add a list of courses to the list of favourite courses.',
'type' => 'read',
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_enrol_get_course_enrolment_methods' => array(
'classname' => 'core_enrol_external',
@@ -2319,14 +2330,6 @@
'type' => 'read',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_course_set_favourite_courses' => array(
'classname' => 'core_course_external',
'methodname' => 'set_favourite_courses',
'classpath' => 'course/externallib.php',
'description' => 'Add a list of courses to the list of favourite courses.',
'type' => 'read',
'ajax' => true
)
);
$services = array(

0 comments on commit d33a22c

Please sign in to comment.