mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #390: Reverted new 'Force off' option and dropdown conversion.
This commit is contained in:
committed by
Brendan Heywood
parent
83cb36660b
commit
6ca7cb6d7e
12
settings.php
12
settings.php
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user