MDL-49330 webservices: Fix get_course_notes api

This commit is contained in:
Ankit Agarwal 2015-04-02 11:34:11 +05:30 committed by Eloy Lafuente (stronk7)
parent f79747171d
commit 7ceee32454
3 changed files with 3 additions and 5 deletions

View file

@ -336,6 +336,7 @@ $functions = array(
'core_notes_get_course_notes' => array(
'classname' => 'core_notes_external',
'methodname' => 'get_course_notes',
'classpath' => 'notes/externallib.php',
'description' => 'Returns all notes in specified course (or site) for the specified user.',
'type' => 'read',
'capabilities' => 'moodle/notes:view',