Ther eis now a user setting to disabled notices. The Diaspora reshare now checks for empty values.
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user