mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +02:00
Issue #87 - Using 'notifyerror' instead of the wrong type 'notifyfailure'.
This commit is contained in:
1 parent
38b1b5fe72
commit
9ddc1cd32c
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -98,7 +98,7 @@ if ($hassiteconfig && is_enabled_auth('outage')) {
|
||||
$type = 'notifysuccess';
|
||||
} else {
|
||||
$message = 'allowedipshasntmyip';
|
||||
$type = 'notifyfailure';
|
||||
$type = 'notifyerror';
|
||||
};
|
||||
$description .= $OUTPUT->notification(get_string($message, 'auth_outage', ['ip' => getremoteaddr()]), $type);
|
||||
|
||||
|
||||
Reference in new issue
Block a user