Issue #87 - Using 'notifyerror' instead of the wrong type 'notifyfailure'.

This commit is contained in:
Daniel Thee Roperto
2016-12-14 11:52:40 +11:00
parent 38b1b5fe72
commit 9ddc1cd32c
2 changed files with 2 additions and 2 deletions

View File

@@ -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);