MDL-52785 quiz: Adding mod_quiz_get_user_best_grade to mobile service

This commit is contained in:
David Monllao 2016-03-09 15:18:11 +08:00
parent 20097a057d
commit ba8afbdb07

View file

@ -61,6 +61,7 @@ $functions = array(
'methodname' => 'get_user_best_grade',
'description' => 'Get the best current grade for the given user on a quiz.',
'type' => 'read',
'capabilities' => 'mod/quiz:view'
'capabilities' => 'mod/quiz:view',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
);