MDL-52786 quiz: Adding mod_quiz_get_combined_review_options to mobile service
authorDavid Monllao <davidm@moodle.com>
Wed, 9 Mar 2016 07:29:41 +0000 (15:29 +0800)
committerDavid Monllao <davidm@moodle.com>
Wed, 9 Mar 2016 07:29:41 +0000 (15:29 +0800)
mod/quiz/db/services.php

index 9fd4d75..ff73ee6 100644 (file)
@@ -70,6 +70,7 @@ $functions = array(
         'methodname'    => 'get_combined_review_options',
         'description'   => 'Combines the review options from a number of different quiz attempts.',
         'type'          => 'read',
-        'capabilities'  => 'mod/quiz:view'
+        'capabilities'  => 'mod/quiz:view',
+        'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
     ),
 );