mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-49504 notes: Add core_notes_view_notes to the mobile service
This commit is contained in:
parent
ec1a54ef03
commit
a80b551899
@ -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,
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user