mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:35:14 +00:00
add detailed logging to public recips - find out why some public recipients are getting bypassed (David Benfells' problem with tagging groups, etc.)
This commit is contained in:
parent
af72f40759
commit
32ff0932bf
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue