mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:55:18 +00:00
superfluous logging of dead channels
This commit is contained in:
parent
9c98047ae7
commit
f1db154fbe
2 changed files with 2 additions and 5 deletions
|
@ -928,11 +928,8 @@ function builtin_activity_puller($item, &$conv_responses)
|
|||
|
||||
|
||||
foreach ($conv_responses as $mode => $v) {
|
||||
$url = '';
|
||||
|
||||
|
||||
if (!$item['author']['xchan_name']) {
|
||||
logger('Unidentified author for item: ' . $item['id']);
|
||||
logger('Unidentified item: ' . print_r($item,true), LOGGER_DATA);
|
||||
continue;
|
||||
}
|
||||
switch ($mode) {
|
||||
|
|
|
@ -2720,7 +2720,7 @@ function xchan_query(&$items, $abook = true, $effective_uid = 0)
|
|||
intval($item['uid'])
|
||||
);
|
||||
} else {
|
||||
$chans = q("select xchan.*,hubloc.* from xchan left join hubloc on hubloc_hash = xchan_hash left join site on site_url = hubloc_url
|
||||
$chans = q("select * from xchan left join hubloc on hubloc_hash = xchan_hash left join site on site_url = hubloc_url
|
||||
where xchan_hash in (" . protect_sprintf(implode(',', $arr)) . ") and hubloc_deleted = 0 order by hubloc_primary desc");
|
||||
}
|
||||
$xchans = q("select * from xchan where xchan_hash in (" . protect_sprintf(implode(',', $arr)) . ") and xchan_network in ('rss','unknown', 'anon')");
|
||||
|
|
Loading…
Reference in a new issue