MDL-49444 webservices: Added new function to the mobile service

This commit is contained in:
Juan Leyva
2015-03-24 09:50:03 +01:00
parent 1490586ea8
commit 25c49a85ff
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -957,6 +957,14 @@ $functions = array(
'description' => 'Load a template for a renderable',
'type' => 'read'
),
// Completion related functions.
'core_completion_update_activity_completion_status_manually' => array(
'classname' => 'core_completion_external',
'methodname' => 'update_activity_completion_status_manually',
'description' => 'Update completion status for the current user in an activity, only for activities with manual tracking.',
'type' => 'write',
),
);
$services = array(
@@ -1013,7 +1021,8 @@ $services = array(
'gradereport_user_get_grades_table',
'core_group_get_course_user_groups',
'core_user_remove_user_device',
'core_course_get_courses'
'core_course_get_courses',
'core_completion_update_activity_completion_status_manually',
),
'enabled' => 0,
'restrictedusers' => 0,
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2015031900.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2015031900.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.