mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +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:
1 parent
2fd8b307a6
commit
50e3495c85
4 files changed
+18
-41
No files matched your search
@@ -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