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

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

No files matched your search

+1 -1
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);