put some debugging code into the home and public timelines

This commit is contained in:
Evan Prodromou 2011-04-18 16:20:51 -04:00
parent b81ddc70df
commit aa7b6447a1
2 changed files with 9 additions and 1 deletions

View File

@ -133,6 +133,10 @@ class RawInboxNoticeStream extends NoticeStream
$ids = array_slice($ids, $offset, $limit); $ids = array_slice($ids, $offset, $limit);
if (common_config('debug', 'homevspublic')) {
common_debug('Home raw: ' . implode(',', $ids));
}
return $ids; return $ids;
} }
} }

View File

@ -103,6 +103,10 @@ class RawPublicNoticeStream extends NoticeStream
$notice->free(); $notice->free();
$notice = NULL; $notice = NULL;
return $ids; if (common_config('debug', 'homevspublic')) {
common_debug('Public raw: ' . implode(',', $ids));
}
return $ids;
} }
} }