[pLog-svn] r1815 - plog/branches/plog-1.1-ben/class/summary/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Apr 11 21:00:41 GMT 2005


Author: oscar
Date: 2005-04-11 21:00:41 +0000 (Mon, 11 Apr 2005)
New Revision: 1815

Modified:
   plog/branches/plog-1.1-ben/class/summary/dao/summarystats.class.php
Log:
now the summary works too 


Modified: plog/branches/plog-1.1-ben/class/summary/dao/summarystats.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/summary/dao/summarystats.class.php	2005-04-11 20:35:42 UTC (rev 1814)
+++ plog/branches/plog-1.1-ben/class/summary/dao/summarystats.class.php	2005-04-11 21:00:41 UTC (rev 1815)
@@ -56,7 +56,7 @@
             	$query .= " LIMIT 0,".$maxPosts;
 
 
-            $result = $this->_db->Execute( $query );
+            $result = $this->Execute( $query );
 
             if( !$result ){
             	return Array();
@@ -114,7 +114,7 @@
             if( $maxPosts > 0 )
             	$query .= " LIMIT 0,".$maxPosts;
 
-            $result = $this->_db->Execute( $query );
+            $result = $this->Execute( $query );
 
             if( !$result )
             	return Array();
@@ -144,7 +144,7 @@
             if( $maxBlogs > 0 )
             	$query .= " LIMIT 0,".$maxBlogs;
 
-            $result = $this->_db->Execute( $query );
+            $result = $this->Execute( $query );
 
             if( !$result ){
             	return Array();
@@ -180,7 +180,7 @@
             if( $maxBlogs > 0 )
                 $query .= " LIMIT 0,".$maxBlogs;
 
-            $result = $this->_db->Execute( $query );
+            $result = $this->Execute( $query );
 
             if( !$result ){
                 return Array();
@@ -267,7 +267,7 @@
 			}*/
 			$query .= " GROUP BY a.id HAVING COUNT(a.blog_id) = 1 ORDER BY a.date DESC LIMIT 0, $maxPosts";
 
-            $result = $this->_db->Execute( $query );
+            $result = $this->Execute( $query );
 
             if( !$result )
                 return Array();
@@ -305,7 +305,7 @@
             if( $maxPosts > 0 )
                 $query .= " LIMIT 0,". ($maxPosts * 3);
 
-            $result = $this->_db->Execute( $query );
+            $result = $this->Execute( $query );
 
             if( !$result )
                 return false;




More information about the pLog-svn mailing list