Skip to content

Commit

Permalink
Don't hard-set siteadmins
Browse files Browse the repository at this point in the history
  • Loading branch information
williammck committed Jul 24, 2023
1 parent a2aa2ca commit d4d16d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
1 change: 0 additions & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d4d16d8

Please sign in to comment.