Ther eis now a user setting to disabled notices. The Diaspora reshare now checks for empty values.
This commit is contained in:
parent
e75562cd6d
commit
2846dfeb05
5 changed files with 16 additions and 4 deletions
4
boot.php
4
boot.php
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue