MDL-49504 notes: Add core_notes_view_notes to the mobile service

This commit is contained in:
Juan Leyva 2015-03-31 13:31:48 +02:00
parent ec1a54ef03
commit a80b551899
2 changed files with 11 additions and 1 deletions

View File

@ -885,6 +885,15 @@ $functions = array(
'capabilities'=> 'moodle/notes:manage',
),
'core_notes_view_notes' => array(
'classname' => 'core_notes_external',
'methodname' => 'view_notes',
'classpath' => 'notes/externallib.php',
'description' => 'Simulates the web interface view of notes/index.php: trigger events.',
'type' => 'write',
'capabilities' => 'moodle/notes:view',
),
// === grading related functions ===
'core_grading_get_definitions' => array(
@ -1068,6 +1077,7 @@ $services = array(
'core_course_view_course',
'core_completion_get_activities_completion_status',
'core_notes_get_course_notes',
'core_notes_view_notes',
),
'enabled' => 0,
'restrictedusers' => 0,

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2015040200.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2015040200.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.