Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20097a0
)
MDL-52785 quiz: Adding mod_quiz_get_user_best_grade to mobile service
author
David Monllao
<davidm@moodle.com>
Wed, 9 Mar 2016 07:18:11 +0000
(15:18 +0800)
committer
David Monllao
<davidm@moodle.com>
Wed, 9 Mar 2016 07:18:11 +0000
(15:18 +0800)
mod/quiz/db/services.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/quiz/db/services.php
b/mod/quiz/db/services.php
index
12591be
..
bdd52c7
100644
(file)
--- a/
mod/quiz/db/services.php
+++ b/
mod/quiz/db/services.php
@@
-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)
),
);