mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-03 12:49:20 +02:00
add info function, same as note($message)
This commit is contained in:
parent
1ed24afc7d
commit
719c542757
@ -44,7 +44,10 @@ function warning($message, $return = false) {
|
||||
return message($message, 'warning', $return);
|
||||
}
|
||||
function note($message, $return = false) {
|
||||
return message($message, 'note', $return);
|
||||
return info($message, $return);
|
||||
}
|
||||
function info($message, $return = false) {
|
||||
return message($message, 'info', $return);
|
||||
}
|
||||
function error($message, $return = false) {
|
||||
return message($message, ((defined('MYAAC_INSTALL') || defined('MYAAC_ADMIN')) ? 'danger' : 'error'), $return);
|
||||
|
Loading…
x
Reference in New Issue
Block a user