MDL-54856 webservice: Add core_course_get_categories to mobile service

This commit is contained in:
Juan Leyva
2016-06-15 15:05:52 +01:00
parent a0a63678a9
commit 331e038b2e
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -214,7 +214,8 @@ $functions = array(
'classpath' => 'course/externallib.php',
'description' => 'Return category details',
'type' => 'read',
'capabilities' => 'moodle/category:viewhiddencategories'
'capabilities' => 'moodle/category:viewhiddencategories',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_course_get_contents' => array(
'classname' => 'core_course_external',
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2016052300.03; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2016052300.04; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.