diff --git a/db/services.php b/db/services.php index 95607a1..857d0dc 100644 --- a/db/services.php +++ b/db/services.php @@ -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 ), @@ -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 ), @@ -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 ), @@ -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 ), @@ -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 ), @@ -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 ),