mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +02:00
Issue #55 - Fixed: cannot create or edit outage using GUI because field autostart is missing.
This commit is contained in:
1 parent
5b964fd29f
commit
09c8c645c5
4 files changed
+55
-37
No files matched your search
@@ -44,6 +44,7 @@ if ($mform->is_cancelled()) {
|
||||
|
||||
$config = outagelib::get_config();
|
||||
$defaults = new outage([
|
||||
'autostart' => $config->default_autostart,
|
||||
'starttime' => time(),
|
||||
'stoptime' => time() + ($config->default_duration * 60),
|
||||
'warntime' => time() - ($config->default_warning_duration * 60),
|
||||
|
||||
Reference in new issue
Block a user