[pLog-svn] r3406 - plog/trunk/class/summary/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sat May 13 16:16:31 GMT 2006
Author: oscar
Date: 2006-05-13 16:16:31 +0000 (Sat, 13 May 2006)
New Revision: 3406
Modified:
plog/trunk/class/summary/dao/summarystats.class.php
Log:
only looking at the last 7 days for most commented articles too, it should make a big difference...
Modified: plog/trunk/class/summary/dao/summarystats.class.php
===================================================================
--- plog/trunk/class/summary/dao/summarystats.class.php 2006-05-13 15:59:17 UTC (rev 3405)
+++ plog/trunk/class/summary/dao/summarystats.class.php 2006-05-13 16:16:31 UTC (rev 3406)
@@ -78,6 +78,7 @@
WHERE a.blog_id = b.id
AND a.status = ".POST_STATUS_PUBLISHED."
AND b.status = ".BLOG_STATUS_ACTIVE."
+ AND a.date >= ".$this->_sevenDaysAgo."
AND a.date <= ".$this->_now."
AND a.in_summary_page = '1'
AND a.num_nonspam_comments > 0
More information about the pLog-svn
mailing list