[pLog-svn] r1734 - plog/branches/plog-1.1-ben/class/dao
ork at devel.plogworld.net
ork at devel.plogworld.net
Tue Apr 5 13:01:30 GMT 2005
Author: ork
Date: 2005-04-05 13:01:29 +0000 (Tue, 05 Apr 2005)
New Revision: 1734
Modified:
plog/branches/plog-1.1-ben/class/dao/blogs.class.php
Log:
better start using the cache as well.. :)
Modified: plog/branches/plog-1.1-ben/class/dao/blogs.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/blogs.class.php 2005-04-05 12:45:19 UTC (rev 1733)
+++ plog/branches/plog-1.1-ben/class/dao/blogs.class.php 2005-04-05 13:01:29 UTC (rev 1734)
@@ -30,6 +30,7 @@
$query = "SELECT * FROM ".$this->getPrefix()."blogs " .
"WHERE id = '".Db::qstr($blogId)."'";
$blogInfo = $this->_getBlogInfoFromQuery( $query, $extendedInfo );
+ $this->_cache->setData( $blogId, CACHE_BLOGINFOS, $blogInfo );
}
return $blogInfo;
More information about the pLog-svn
mailing list