From 2daa0936db00df725c7976898504daebdf2630ac Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Wed, 11 Jan 2017 12:45:25 +0100 Subject: [PATCH 1/2] diaspora - switch logger for "non subscribed messages" to LOGGER_DEBUG --- include/diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/diaspora.php b/include/diaspora.php index fde086e20..c8b56c20c 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -326,7 +326,7 @@ class Diaspora { self::dispatch($rr,$msg); } } else - logger("No subscribers for ".$msg["author"]." ".print_r($msg, true)); + logger("No subscribers for ".$msg["author"]." ".print_r($msg, true), LOGGER_DEBUG); return $message_id; } From 0e64d462df91865c55d112aeb19f3b8169981ba9 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Wed, 11 Jan 2017 13:02:18 +0100 Subject: [PATCH 2/2] diaspora - add braces --- include/diaspora.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/diaspora.php b/include/diaspora.php index c8b56c20c..fc88c79bf 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -325,8 +325,9 @@ class Diaspora { logger("delivering to: ".$rr["username"]); self::dispatch($rr,$msg); } - } else + } else { logger("No subscribers for ".$msg["author"]." ".print_r($msg, true), LOGGER_DEBUG); + } return $message_id; }