Ther eis now a user setting to disabled notices. The Diaspora reshare now checks for empty values.

This commit is contained in:
Michael Vogel
2014-04-26 02:22:30 +02:00
parent e75562cd6d
commit 2846dfeb05
5 changed files with 16 additions and 4 deletions

View File

@@ -1255,6 +1255,10 @@ if(! function_exists('info')) {
*/
function info($s) {
$a = get_app();
if (local_user() AND get_pconfig(local_user(),'system','ignore_info'))
return;
if(! x($_SESSION,'sysmsg_info')) $_SESSION['sysmsg_info'] = array();
if($a->interactive)
$_SESSION['sysmsg_info'][] = $s;