From 32ff0932bf3b596e68ae7f4100bebbccdc1eae00 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 22 Aug 2013 03:24:50 -0700 Subject: add detailed logging to public recips - find out why some public recipients are getting bypassed (David Benfells' problem with tagging groups, etc.) --- include/zot.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/zot.php b/include/zot.php index ff69a119e..37d2a03bd 100644 --- a/include/zot.php +++ b/include/zot.php @@ -928,6 +928,8 @@ function public_recips($msg) { if(! $col) return NULL; + logger('__public_recips'); +dbg(1); if($msg['notify']['sender']['url'] === z_root()) $sql = " where (( " . $col . " & " . PERMS_NETWORK . " ) or ( " . $col . " & " . PERMS_SITE . " )) "; else @@ -945,6 +947,7 @@ function public_recips($msg) { if(! $x) $x = array(); +dbg(0); $r = array_merge($r,$x); logger('public_recips: ' . print_r($r,true), LOGGER_DATA); -- cgit v1.2.3