mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +02:00
Issue #67 - CSS default behaviour.
This commit is contained in:
1 parent
f1b5959aff
commit
d62b6f5b68
3 files changed
+8
-6
No files matched your search
@@ -129,15 +129,13 @@ class outagelib {
|
||||
* @return mixed[] Default configuration.
|
||||
*/
|
||||
public static function get_config_defaults() {
|
||||
global $CFG;
|
||||
|
||||
return [
|
||||
'default_autostart' => '0',
|
||||
'default_duration' => (string)(60 * 60),
|
||||
'default_warning_duration' => (string)(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'),
|
||||
'css' => '',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user