From d4d16d8e8b173f7cdf4b14232c75144809137d29 Mon Sep 17 00:00:00 2001 From: William McKinnerney Date: Mon, 24 Jul 2023 21:20:24 +0100 Subject: [PATCH] Don't hard-set siteadmins --- README.md | 1 - config.php | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index dff279b..02c4d4a 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,3 @@ You'll also need to configure some way of running Moodle's cron job, such as a c * `REDIS_PASSWORD` - The password to use when connecting to the Redis server. Defaults to an empty string. * `DATA_ROOT` - The path to the Moodle data directory. Defaults to an empty string. * `UPGRADE_KEY` - The upgrade key to use when upgrading Moodle. Defaults to null, thus disabling the feature. -* `SITE_ADMINS` - The IDs of the users to make site administrators, separated by commas. Defaults to null. diff --git a/config.php b/config.php index 45d302b..5332213 100644 --- a/config.php +++ b/config.php @@ -130,7 +130,6 @@ * Administration configuration */ -$CFG->siteadmins = getenv('SITE_ADMINS') ?: null; $CFG->alternative_component_cache = __DIR__ . '/core_component.php'; $CFG->upgradekey = getenv('UPGRADE_KEY') ?: null; $CFG->disableupdateautodeploy = true;