[pLog-svn] r6114 - plog/branches/lifetype-1.2/class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sat Dec 15 14:08:13 EST 2007
Author: jondaley
Date: 2007-12-15 14:08:13 -0500 (Sat, 15 Dec 2007)
New Revision: 6114
Modified:
plog/branches/lifetype-1.2/class/dao/articles.class.php
Log:
okay, I agree with Oscar, my previous change was not the correct fix
Modified: plog/branches/lifetype-1.2/class/dao/articles.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-12-15 17:50:00 UTC (rev 6113)
+++ plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-12-15 19:08:13 UTC (rev 6114)
@@ -991,8 +991,7 @@
RecentArticles::resetRecentArticlesCache( $article->getBlogId());
$this->_cache->removeData( $article->getBlogId(), CACHE_ARTICLESPERMONTH );
$this->_cache->removeData( $article->getId(), CACHE_ARTICLETEXT );
- $this->_cache->removeData( $article->getId(), CACHE_ARTICLES );
-// $this->_cache->setData( $article->getId(), CACHE_ARTICLES, $article );
+ $this->_cache->setData( $article->getId(), CACHE_ARTICLES, $article );
$this->_cache->removeData( $article->getPostSlug(), CACHE_ARTICLES_BYNAME );
return true;
More information about the pLog-svn
mailing list