Skip to content

Commit

Permalink
remove MOODLE_MOBILE_SERVICES support
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Nov 14, 2023
1 parent 24e7729 commit 72a3a38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'description' => 'Submit result for primitive learning elements (completed/not completed)', //human readable description of the web service function
'type' => 'write', //database rights of the web service function (read, write)
'ajax' => false, // is the service available to 'internal' ajax calls.
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE, 'adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'services' => array('adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'capabilities' => '', // comma separated list of capabilities used by the function.
'loginrequired' => true
),
Expand All @@ -37,7 +37,7 @@
'description' => 'Submit result for h5p. This is just a proxy function and forwards its payload to {"wsfunction", "core_xapi_statement_post"}, {"component", "mod_h5pactivity"}, {"requestjson", "[" + statement + "]"}', //human readable description of the web service function
'type' => 'write',
'ajax' => false,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE, 'adler_services'),
'services' => array('adler_services'),
'capabilities' => '',
'loginrequired' => true
),
Expand All @@ -46,7 +46,7 @@
'description' => 'Get scores (adler) for learning elements with given ids',
'type' => 'read', //database rights of the web service function (read, write)
'ajax' => false,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE, 'adler_services'),
'services' => array('adler_services'),
'capabilities' => '', // comma separated list of capabilities used by the function.
'loginrequired' => true
),
Expand All @@ -55,7 +55,7 @@
'description' => 'Get scores (adler) for all elements inside course with given course id', //human readable description of the web service function
'type' => 'read', //database rights of the web service function (read, write)
'ajax' => false, // is the service available to 'internal' ajax calls.
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE, 'adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'services' => array('adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'capabilities' => '', // comma separated list of capabilities used by the function.
'loginrequired' => true
),
Expand All @@ -64,7 +64,7 @@
'description' => 'Upload adler course (as mbz file)', //human readable description of the web service function
'type' => 'write', //database rights of the web service function (read, write)
'ajax' => false, // is the service available to 'internal' ajax calls.
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE, 'adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'services' => array('adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'capabilities' => '', // comma separated list of capabilities used by the function.
'loginrequired' => true
),
Expand All @@ -73,7 +73,7 @@
'description' => 'Returns context and database ids for sections / course modules with given UUIDs and course ids', //human readable description of the web service function
'type' => 'read', //database rights of the web service function (read, write)
'ajax' => false, // is the service available to 'internal' ajax calls.
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE, 'adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'services' => array('adler_services'), // Optional, only available for Moodle 3.1 onwards. List of built-in services (by shortname) where the function will be included. Services created manually via the Moodle interface are not supported.
'capabilities' => '', // comma separated list of capabilities used by the function.
'loginrequired' => true
),
Expand Down

0 comments on commit 72a3a38

Please sign in to comment.