summaryrefslogtreecommitdiff
path: root/classes/Notice.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.php
parentc7105c2af1ebe3cddd477265c6fea59a61d0c7e5 (diff)
Remove some debug comments in query-by-id
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index b087c94bc..49d0939c1 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -215,7 +215,6 @@ class Notice extends Memcached_DataObject
if (common_config('queue', 'enabled')) {
$notice->blowAuthorCaches();
} else {
- common_debug("Blowing caches for new notice.");
$notice->blowCaches();
}
}
@@ -353,9 +352,9 @@ class Notice extends Memcached_DataObject
'WHERE subscription.subscribed = ' . $this->profile_id);
while ($user->fetch()) {
- $cache->delete(common_cache_key('notice_inbox:by_user:'.$user_id));
+ $cache->delete(common_cache_key('notice_inbox:by_user:'.$user->id));
if ($blowLast) {
- $cache->delete(common_cache_key('notice_inbox:by_user:'.$user_id.';last'));
+ $cache->delete(common_cache_key('notice_inbox:by_user:'.$user->id.';last'));
}
}
$user->free();