diff --git a/lib/db/services.php b/lib/db/services.php index 00d90d1bcde..4b21d01fe5b 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -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, diff --git a/version.php b/version.php index f675fe27e88..72fd64f741d 100644 --- a/version.php +++ b/version.php @@ -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.