Partially fix #243: fix codingcheck error and disable behat test

This commit is contained in:
Tomo Tsuyuki committed 2021-03-04 12:02:57 +11:00
1 parent 19bc18512d
commit 07a8a41ad4
6 files changed
+13 -4

No files matched your search

+2 -1
View File
@@ -375,7 +375,8 @@ EOT;
$message = [];
if (trim(self::get_config()->allowedips) != '' && (!isset($CFG->auth_outage_bootstrap_loaded) || !$CFG->auth_outage_bootstrap_loaded)) {
if (trim(self::get_config()->allowedips) != ''
&& (!isset($CFG->auth_outage_bootstrap_loaded) || !$CFG->auth_outage_bootstrap_loaded)) {
$message[] = get_string('configurationwarning', 'auth_outage');
}