Commit 1100831b authored by Evan Prodromou's avatar Evan Prodromou

remove debug statements from Sitemap plugin

parent d17dd32a
...@@ -168,7 +168,6 @@ class Sitemap_user_count extends Memcached_DataObject ...@@ -168,7 +168,6 @@ class Sitemap_user_count extends Memcached_DataObject
$counts = array(); $counts = array();
for ($d = $firstDate; $d <= $today; $d = self::incrementDay($d)) { for ($d = $firstDate; $d <= $today; $d = self::incrementDay($d)) {
common_debug("Date = '$d'");
$n = self::getCount($d); $n = self::getCount($d);
self::insertCount($d, $n); self::insertCount($d, $n);
$counts[$d] = $n; $counts[$d] = $n;
...@@ -217,8 +216,6 @@ class Sitemap_user_count extends Memcached_DataObject ...@@ -217,8 +216,6 @@ class Sitemap_user_count extends Memcached_DataObject
static function insertCount($d, $n) static function insertCount($d, $n)
{ {
common_debug("Inserting count '$n' for '$d'");
$suc = new Sitemap_user_count(); $suc = new Sitemap_user_count();
$suc->registration_date = DB_DataObject_Cast::date($d); $suc->registration_date = DB_DataObject_Cast::date($d);
......
...@@ -91,8 +91,6 @@ class SitemapindexAction extends Action ...@@ -91,8 +91,6 @@ class SitemapindexAction extends Action
{ {
$noticeCounts = Sitemap_notice_count::getAll(); $noticeCounts = Sitemap_notice_count::getAll();
common_debug(sprintf("Got %d notice counts", count($noticeCounts)));
foreach ($noticeCounts as $dt => $cnt) { foreach ($noticeCounts as $dt => $cnt) {
if ($cnt == 0) { if ($cnt == 0) {
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment