mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #87 - Using 'notifyerror' instead of the wrong type 'notifyfailure'.
This commit is contained in:
@@ -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