MDL-52670 quiz: Adding function to mobile service

This commit is contained in:
David Monllao
2016-03-09 15:12:10 +08:00
parent 9b701a37e4
commit 5ca1a77649
+2 -1
View File
@@ -52,6 +52,7 @@ $functions = array(
'methodname' => 'get_user_attempts',
'description' => 'Return a list of attempts for the given quiz and user.',
'type' => 'read',
'capabilities' => 'mod/quiz:view'
'capabilities' => 'mod/quiz:view',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
);