mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-49453 webservices: Added the new WS to the mobile service
This commit is contained in:
parent
e81f67ca62
commit
c4f7bf29b2
@ -660,6 +660,15 @@ $functions = array(
|
||||
'capabilities'=> 'moodle/course:update,moodle/course:changecategory,moodle/course:changefullname,moodle/course:changeshortname,moodle/course:changeidnumber,moodle/course:changesummary,moodle/course:visibility',
|
||||
),
|
||||
|
||||
'core_course_view_course' => array(
|
||||
'classname' => 'core_course_external',
|
||||
'methodname' => 'view_course',
|
||||
'classpath' => 'course/externallib.php',
|
||||
'description' => 'Log that the course was viewed',
|
||||
'type' => 'write'
|
||||
),
|
||||
|
||||
|
||||
// === course category related functions ===
|
||||
|
||||
'core_course_get_categories' => array(
|
||||
@ -1023,7 +1032,8 @@ $services = array(
|
||||
'core_user_remove_user_device',
|
||||
'core_course_get_courses',
|
||||
'core_completion_update_activity_completion_status_manually',
|
||||
'mod_data_get_databases_by_courses'
|
||||
'mod_data_get_databases_by_courses',
|
||||
'core_course_view_course',
|
||||
),
|
||||
'enabled' => 0,
|
||||
'restrictedusers' => 0,
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2015032600.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2015032600.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