MDL-44462 mobile: Add mod_assign functions to service definition
authorJuan Leyva <juanleyvadelgado@gmail.com>
Wed, 5 Mar 2014 10:59:26 +0000 (11:59 +0100)
committerDan Poltawski <dan@moodle.com>
Tue, 11 Mar 2014 06:49:23 +0000 (14:49 +0800)
To support new functionality in the Moodle Mobile app.

lib/db/services.php
version.php

index bc6f592..d5d798c 100644 (file)
@@ -914,7 +914,21 @@ $services = array(
             'core_notes_create_notes',
             'core_user_get_course_user_profiles',
             'core_enrol_get_enrolled_users',
-            'core_message_send_instant_messages'),
+            'core_message_send_instant_messages',
+            'mod_assign_get_grades',
+            'mod_assign_get_assignments',
+            'mod_assign_get_submissions',
+            'mod_assign_get_user_flags',
+            'mod_assign_set_user_flags',
+            'mod_assign_get_user_mappings',
+            'mod_assign_revert_submissions_to_draft',
+            'mod_assign_lock_submissions',
+            'mod_assign_unlock_submissions',
+            'mod_assign_save_submission',
+            'mod_assign_submit_for_grading',
+            'mod_assign_save_grade',
+            'mod_assign_save_user_extensions',
+            'mod_assign_reveal_identities'),
         'enabled' => 0,
         'restrictedusers' => 0,
         'shortname' => MOODLE_OFFICIAL_MOBILE_SERVICE,
index 7e326bf..3fe5160 100644 (file)
@@ -29,7 +29,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$version  = 2014030700.00;              // YYYYMMDD      = weekly release date of this DEV branch.
+$version  = 2014031100.00;              // YYYYMMDD      = weekly release date of this DEV branch.
                                         //         RR    = release increments - 00 in DEV branches.
                                         //           .XX = incremental changes.