[pLog-svn] r1853 - plog/trunk/class/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Apr 17 17:32:10 GMT 2005


Author: oscar
Date: 2005-04-17 17:32:10 +0000 (Sun, 17 Apr 2005)
New Revision: 1853

Modified:
   plog/trunk/class/dao/articles.class.php
Log:
removed some unnecessary code

Modified: plog/trunk/class/dao/articles.class.php
===================================================================
--- plog/trunk/class/dao/articles.class.php	2005-04-17 17:31:44 UTC (rev 1852)
+++ plog/trunk/class/dao/articles.class.php	2005-04-17 17:32:10 UTC (rev 1853)
@@ -4,7 +4,6 @@
     include_once( PLOG_CLASS_PATH.'class/dao/article.class.php' );
     include_once( PLOG_CLASS_PATH.'class/dao/articlecategories.class.php' );
     include_once( PLOG_CLASS_PATH.'class/dao/articlenotifications.class.php' );
-    include_once( PLOG_CLASS_PATH.'class/dao/articlecomments.class.php' );
     include_once( PLOG_CLASS_PATH.'class/dao/articlecommentstatus.class.php' );	
     include_once( PLOG_CLASS_PATH.'class/dao/users.class.php' );
     include_once( PLOG_CLASS_PATH.'class/dao/trackbacks.class.php' );
@@ -14,7 +13,6 @@
     include_once( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
     include_once( PLOG_CLASS_PATH.'class/dao/customfields/customfieldsvalues.class.php' );
     include_once( PLOG_CLASS_PATH.'class/dao/customfields/customfields.class.php' );
-
     include_once( PLOG_CLASS_PATH.'class/logger/LogUtil.php' );
 
     /**
@@ -41,7 +39,6 @@
         {
             $this->Model();
             $this->categories = new ArticleCategories();
-            $this->comments = new ArticleComments();
             $this->trackbacks = new Trackbacks();
             $this->users      = new Users();
             $this->blogs      = new Blogs();
@@ -396,8 +393,6 @@
             }
 
             $ids = substr($ids, 0, -1);          
-            //$articleComments = $this->comments->getPostCommentsByIds( $ids, COMMENT_ORDER_NEWEST_FIRST, COMMENT_STATUS_ALL );
-			//$articleTrackbacks = $this->trackbacks->getArticleTrackbacksByIds( $ids );
 			$articleCategories = $this->categories->getArticleCategoriesByIds( $ids, $blogid );
 			$articleTexts = $this->getArticlesText( $ids );
             //$fields = $this->customfields->getArticleCustomFieldsValuesByIds( $ids );




More information about the pLog-svn mailing list