mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-09-07 08:11:07 +02:00
Add missing default_metadata key to get_config_defaults() to avoid undefined property when creating a new outage
This commit is contained in:
@@ -180,6 +180,7 @@ class outagelib {
|
||||
'default_warning_duration' => (string)(60 * 60),
|
||||
'default_title' => get_string('defaulttitlevalue', 'auth_outage'),
|
||||
'default_description' => get_string('defaultdescriptionvalue', 'auth_outage'),
|
||||
'default_metadata' => '',
|
||||
'remove_selectors' => ".usermenu\n.logininfo\n.homelink",
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user