summaryrefslogtreecommitdiff
path: root/plugins/Sitemap
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-06-03 15:19:46 -0400
committerEvan Prodromou <evan@status.net>2010-06-03 15:19:46 -0400
commit1100831bc0271574552e9757aff09d8a9c916038 (patch)
tree10328452dc8a66b803b5549bdb9f7cafb6e25633 /plugins/Sitemap
parentd17dd32aacd52cefef7faab99fb728a21fc6e4b3 (diff)
remove debug statements from Sitemap plugin
Diffstat (limited to 'plugins/Sitemap')
-rw-r--r--plugins/Sitemap/Sitemap_user_count.php3
-rw-r--r--plugins/Sitemap/sitemapindex.php2
2 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Sitemap/Sitemap_user_count.php b/plugins/Sitemap/Sitemap_user_count.php
index 7743b0532..64b4c3442 100644
--- a/plugins/Sitemap/Sitemap_user_count.php
+++ b/plugins/Sitemap/Sitemap_user_count.php
@@ -168,7 +168,6 @@ class Sitemap_user_count extends Memcached_DataObject
$counts = array();
for ($d = $firstDate; $d <= $today; $d = self::incrementDay($d)) {
- common_debug("Date = '$d'");
$n = self::getCount($d);
self::insertCount($d, $n);
$counts[$d] = $n;
@@ -217,8 +216,6 @@ class Sitemap_user_count extends Memcached_DataObject
static function insertCount($d, $n)
{
- common_debug("Inserting count '$n' for '$d'");
-
$suc = new Sitemap_user_count();
$suc->registration_date = DB_DataObject_Cast::date($d);
diff --git a/plugins/Sitemap/sitemapindex.php b/plugins/Sitemap/sitemapindex.php
index 5150b1aeb..169e3031c 100644
--- a/plugins/Sitemap/sitemapindex.php
+++ b/plugins/Sitemap/sitemapindex.php
@@ -91,8 +91,6 @@ class SitemapindexAction extends Action
{
$noticeCounts = Sitemap_notice_count::getAll();
- common_debug(sprintf("Got %d notice counts", count($noticeCounts)));
-
foreach ($noticeCounts as $dt => $cnt) {
if ($cnt == 0) {
continue;