From cfb9d079569be8ab3b67492e0b56225e6bb6bbde Mon Sep 17 00:00:00 2001 From: Glutamat42 Date: Fri, 5 Apr 2024 04:52:51 +0200 Subject: [PATCH] remove "enable moodle mobile web service" as we are not using them anymore --- opt/adler/moodle/adler_setup/setup.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/opt/adler/moodle/adler_setup/setup.php b/opt/adler/moodle/adler_setup/setup.php index 9e914a8..5b0a95e 100644 --- a/opt/adler/moodle/adler_setup/setup.php +++ b/opt/adler/moodle/adler_setup/setup.php @@ -102,13 +102,6 @@ function do_adler_roles_exist() { // enable webservices set_config('enablewebservices', true); - // enable moodle mobile web service - // TODO: we are not using moodle official mobile service anymore -// set_config('enablemobilewebservice', true); // for any reason this does not set the corresponding option in the web ui and everything seems to work without it anyway. - $external_service_record = $DB->get_record('external_services', array('shortname' => MOODLE_OFFICIAL_MOBILE_SERVICE)); - $external_service_record->enabled = 1; - $DB->update_record('external_services', $external_service_record); - // Enable REST server. $activeprotocols = empty($CFG->webserviceprotocols) ? array() : explode(',', $CFG->webserviceprotocols);