summaryrefslogtreecommitdiff
path: root/classes/Notice_inbox.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-28 13:31:56 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-28 13:31:56 -0400
commitfe53e780be5db4ceb2831a1d69faec6130a10deb (patch)
tree95e45d16bef8b88ea8d3e3f04dd6dc8aeb050c36 /classes/Notice_inbox.php
parentc7105c2af1ebe3cddd477265c6fea59a61d0c7e5 (diff)
Remove some debug comments in query-by-id
Diffstat (limited to 'classes/Notice_inbox.php')
-rw-r--r--classes/Notice_inbox.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/Notice_inbox.php b/classes/Notice_inbox.php
index 162da74fe..f32137038 100644
--- a/classes/Notice_inbox.php
+++ b/classes/Notice_inbox.php
@@ -50,7 +50,6 @@ class Notice_inbox extends Memcached_DataObject
if (empty($cache) ||
$since_id != 0 || $before_id != 0 || !is_null($since) ||
($offset + $limit) > INBOX_CACHE_WINDOW) {
- common_debug('Doing direct DB hit for notice_inbox since the params are screwy.');
return Notice_inbox::_streamDirect($user_id, $offset, $limit, $since_id, $before_id, $since);
}
@@ -60,7 +59,6 @@ class Notice_inbox extends Memcached_DataObject
if (!empty($idstr)) {
// Cache hit! Woohoo!
- common_debug('Cache hit for notice_inbox.');
$window = explode(',', $idstr);
$ids = array_slice($window, $offset, $limit);
return $ids;
@@ -69,8 +67,6 @@ class Notice_inbox extends Memcached_DataObject
$laststr = common_cache_key($idkey.';last');
if (!empty($laststr)) {
- common_debug('Cache hit for notice_inbox on last item.');
-
$window = explode(',', $laststr);
$last_id = $window[0];
$new_ids = Notice_inbox::_streamDirect($user_id, 0, INBOX_CACHE_WINDOW,