mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #48 and Issue #49 - Changed durations text field to duration, eliminating the problem of negative values. Invalid values will become blank and therefore use our hardcoded defaults.
This commit is contained in:
@@ -108,8 +108,8 @@ class outagelib {
|
||||
|
||||
return [
|
||||
'default_autostart' => false,
|
||||
'default_duration' => 60,
|
||||
'default_warning_duration' => 60,
|
||||
'default_duration' => (60*60),
|
||||
'default_warning_duration' => (60*60),
|
||||
'default_title' => get_string('defaulttitlevalue', 'auth_outage'),
|
||||
'default_description' => get_string('defaultdescriptionvalue', 'auth_outage'),
|
||||
'css' => file_get_contents($CFG->dirroot.'/auth/outage/views/warningbar/warningbar.css'),
|
||||
|
||||
Reference in New Issue
Block a user