Suppress duplicate info() messages. This was done long for notice(), but info() was overlooked at that time.

This commit is contained in:
zotlabs 2018-08-16 12:35:57 -07:00
parent 32acb0ff01
commit e5529938ea

View File

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