summaryrefslogtreecommitdiff
path: root/plugins/AnonymousFave/Fave_tally.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-09-29 16:28:29 -0700
committerZach Copley <zach@status.net>2010-09-29 16:35:17 -0700
commit8e7532245a9ba98c6a70a114cedb7c841482bf2a (patch)
tree111b0f55837a2e878029b47cf44b99358a59a0a8 /plugins/AnonymousFave/Fave_tally.php
parent54f19da3ab534f5f416fc4902841439ddbe0f10e (diff)
Remove debugging statements
Diffstat (limited to 'plugins/AnonymousFave/Fave_tally.php')
-rw-r--r--plugins/AnonymousFave/Fave_tally.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/AnonymousFave/Fave_tally.php b/plugins/AnonymousFave/Fave_tally.php
index 35ace6d01..b350d5a0a 100644
--- a/plugins/AnonymousFave/Fave_tally.php
+++ b/plugins/AnonymousFave/Fave_tally.php
@@ -149,7 +149,6 @@ class Fave_tally extends Memcached_DataObject
static function increment($noticeID)
{
- common_debug("XXXXXXXXX Fave_tally::increment()");
$tally = Fave_tally::ensureTally($noticeID);
$orig = clone($tally);
@@ -177,8 +176,6 @@ class Fave_tally extends Memcached_DataObject
static function decrement($noticeID)
{
- common_debug("XXXXXXXXX Fave_tally::decrement()");
-
$tally = Fave_tally::ensureTally($noticeID);
if ($tally->count > 0) {
@@ -212,7 +209,6 @@ class Fave_tally extends Memcached_DataObject
$tally = Fave_tally::staticGet('notice_id', $noticeID);
if (!$tally) {
- common_debug("Fave_tally::ensureTally - creating tally for notice " . $noticeID);
$tally = new Fave_tally();
$tally->notice_id = $noticeID;
$tally->count = Fave_tally::countExistingFaves($noticeID);
@@ -243,9 +239,6 @@ class Fave_tally extends Memcached_DataObject
$fave = new Fave();
$fave->notice_id = $noticeID;
$total = $fave->count();
-
- common_debug("ZZZZZZZ notice " . $noticeID . ' has ' . $total . " faves");
-
return $total;
}
}