diff options
author | zotlabs <mike@macgirvin.com> | 2018-08-16 12:35:57 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-08-16 12:35:57 -0700 |
commit | e5529938ea029ac0f416f96fbdc481f66001d0eb (patch) | |
tree | 79601e43e7a49467b7bdca2fa0e8229ed62b7b6d /boot.php | |
parent | 32acb0ff01b8fde3801fafbd7953aa36b5933f96 (diff) | |
download | volse-hubzilla-e5529938ea029ac0f416f96fbdc481f66001d0eb.tar.gz volse-hubzilla-e5529938ea029ac0f416f96fbdc481f66001d0eb.tar.bz2 volse-hubzilla-e5529938ea029ac0f416f96fbdc481f66001d0eb.zip |
Suppress duplicate info() messages. This was done long for notice(), but info() was overlooked at that time.
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1785,6 +1785,10 @@ function info($s) { return; if(! x($_SESSION, 'sysmsg_info')) $_SESSION['sysmsg_info'] = array(); + + if(in_array($s, $_SESSION['sysmsg_info'])) + return; + if(App::$interactive) $_SESSION['sysmsg_info'][] = $s; } |