[pLog-svn] r781 - plog/trunk/class/action

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Jan 21 08:29:21 GMT 2005


Author: oscar
Date: 2005-01-21 08:29:20 +0000 (Fri, 21 Jan 2005)
New Revision: 781

Modified:
   plog/trunk/class/action/commentaction.class.php
Log:
fixed a couple of issues


Modified: plog/trunk/class/action/commentaction.class.php
===================================================================
--- plog/trunk/class/action/commentaction.class.php	2005-01-20 16:56:08 UTC (rev 780)
+++ plog/trunk/class/action/commentaction.class.php	2005-01-21 08:29:20 UTC (rev 781)
@@ -6,7 +6,7 @@
 
 
 	include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
-    include_once( PLOG_CLASS_PATH."class/view/blogcachedview.class.php" );
+    include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
 	include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
@@ -63,9 +63,8 @@
                 return false;
             }			
 
-        	$this->_view = new BlogCachedView( "commentarticle", 
-			                                   $this->_blogInfo, 
-											   Array( "articleId" => this->_articleId, "parentId" => $this->_parentId ));
+        	$this->_view = new BlogView( $this->_blogInfo, "commentarticle", SMARTY_VIEW_CACHE_CHECK, 
+											   Array( "articleId" => $this->_articleId, "parentId" => $this->_parentId ));
 			// do nothing if the view was already cached
 			if( $this->_view->isCached()) 
 				return true;




More information about the pLog-svn mailing list