Issue #390: Reverted new 'Force off' option and dropdown conversion.

This commit is contained in:
abhinavgandham
2026-01-20 15:06:49 +10:00
committed by Brendan Heywood
parent 83cb36660b
commit 6ca7cb6d7e
4 changed files with 11 additions and 22 deletions

View File

@@ -43,18 +43,6 @@ if ($hassiteconfig) {
get_string('settingssectiondefaultsdescription', 'auth_outage') . $description
));
$settings->add(new admin_setting_configselect(
'auth_outage/default_autostart',
get_string('defaultoutageautostart', 'auth_outage'),
get_string('defaultoutageautostartdescription', 'auth_outage'),
'0',
[
'0' => get_string('autostartoff', 'auth_outage'),
'1' => get_string('autostarton', 'auth_outage'),
'2' => get_string('autostartforcedoff', 'auth_outage'),
]
));
$settings->add(new admin_setting_configduration(
'auth_outage/default_warning_duration',
get_string('defaultwarningduration', 'auth_outage'),