[pLog-svn] r1747 - plog/branches/plog-1.1-ben/class/cache
ork at devel.plogworld.net
ork at devel.plogworld.net
Tue Apr 5 18:52:21 GMT 2005
Author: ork
Date: 2005-04-05 18:52:21 +0000 (Tue, 05 Apr 2005)
New Revision: 1747
Modified:
plog/branches/plog-1.1-ben/class/cache/bloginfomanager.class.php
Log:
removed the functions, will remove it later on. it does not do a thing right now :)
Modified: plog/branches/plog-1.1-ben/class/cache/bloginfomanager.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/cache/bloginfomanager.class.php 2005-04-05 18:50:11 UTC (rev 1746)
+++ plog/branches/plog-1.1-ben/class/cache/bloginfomanager.class.php 2005-04-05 18:52:21 UTC (rev 1747)
@@ -7,6 +7,11 @@
function getBlogInfo( $blogId )
{
+ $blogs = new Blogs();
+ $blogInfo = $blogs->getBlogInfo( $blogId );
+ return $blogInfo;
+
+ // not executed
if( array_key_exists( $blogId, $this->_knownBlogs) )
return $this->_knownBlogs[$blogId];
@@ -30,6 +35,8 @@
function updateBlogInfo( $blogId, $blogInfo )
{
require_once( PLOG_CLASS_PATH . "class/dao/blogs.class.php" );
+ $blogs = new Blogs();
+ return $blogs->updateBlog( $blogId, $blogInfo );
// remove all cached info
$cache =& CacheManager::getCache();
@@ -37,8 +44,6 @@
// save the new blogInfo
// this is slow right now, but we don't care at this point
- $blogs = new Blogs();
- return $blogs->updateBlog( $blogId, $blogInfo );
}
function &getBlogInfoManager()
More information about the pLog-svn
mailing list