[pLog-svn] r4309 - plog/branches/lifetype-1.1.3/class/dao

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Nov 16 05:32:21 GMT 2006


Author: jondaley
Date: 2006-11-16 05:31:48 +0000 (Thu, 16 Nov 2006)
New Revision: 4309

Modified:
   plog/branches/lifetype-1.1.3/class/dao/commentscommon.class.php
Log:
oops. too much copying and pasting

Modified: plog/branches/lifetype-1.1.3/class/dao/commentscommon.class.php
===================================================================
--- plog/branches/lifetype-1.1.3/class/dao/commentscommon.class.php	2006-11-16 05:19:44 UTC (rev 4308)
+++ plog/branches/lifetype-1.1.3/class/dao/commentscommon.class.php	2006-11-16 05:31:48 UTC (rev 4309)
@@ -428,8 +428,8 @@
 					$articles->updateArticle( $article );
 					$blogs->updateBlog( $blog );
 					// and clean the cache data
-                    $this->_cache->removeData( $comment->getArticleId(), CACHE_ARTICLE_COMMENTS_BYARTICLE_NEWEST_TO_OLDEST );
-                    $this->_cache->removeData( $comment->getArticleId(), CACHE_ARTICLE_COMMENTS_BYARTICLE_OLDEST_TO_NEWEST );
+                    $this->_cache->removeData( $articleId, CACHE_ARTICLE_COMMENTS_BYARTICLE_NEWEST_TO_OLDEST );
+                    $this->_cache->removeData( $articleId, CACHE_ARTICLE_COMMENTS_BYARTICLE_OLDEST_TO_NEWEST );
 				}
 			}
 			



More information about the pLog-svn mailing list