aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-22 03:24:50 -0700
committerfriendica <info@friendica.com>2013-08-22 03:24:50 -0700
commit32ff0932bf3b596e68ae7f4100bebbccdc1eae00 (patch)
treee3feb6fb9a004af1addd6a6d5333d4b09cb58995
parentaf72f40759418275abae575176f43d27388bfcd6 (diff)
downloadvolse-hubzilla-32ff0932bf3b596e68ae7f4100bebbccdc1eae00.tar.gz
volse-hubzilla-32ff0932bf3b596e68ae7f4100bebbccdc1eae00.tar.bz2
volse-hubzilla-32ff0932bf3b596e68ae7f4100bebbccdc1eae00.zip
add detailed logging to public recips - find out why some public recipients are getting bypassed (David Benfells' problem with tagging groups, etc.)
-rw-r--r--include/zot.php3
1 files changed, 3 insertions, 0 deletions
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);