put some debugging code into the home and public timelines
This commit is contained in:
parent
b81ddc70df
commit
aa7b6447a1
|
@ -133,6 +133,10 @@ class RawInboxNoticeStream extends NoticeStream
|
|||
|
||||
$ids = array_slice($ids, $offset, $limit);
|
||||
|
||||
if (common_config('debug', 'homevspublic')) {
|
||||
common_debug('Home raw: ' . implode(',', $ids));
|
||||
}
|
||||
|
||||
return $ids;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,6 +103,10 @@ class RawPublicNoticeStream extends NoticeStream
|
|||
$notice->free();
|
||||
$notice = NULL;
|
||||
|
||||
return $ids;
|
||||
if (common_config('debug', 'homevspublic')) {
|
||||
common_debug('Public raw: ' . implode(',', $ids));
|
||||
}
|
||||
|
||||
return $ids;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user