[pLog-svn] r3076 - plog/trunk/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Mar 16 17:53:38 GMT 2006
Author: oscar
Date: 2006-03-16 17:53:38 +0000 (Thu, 16 Mar 2006)
New Revision: 3076
Modified:
plog/trunk/class/dao/blogcategories.class.php
Log:
this should solve the problem when deleting blog categories (global article categories need to be checked for the same issue)
Modified: plog/trunk/class/dao/blogcategories.class.php
===================================================================
--- plog/trunk/class/dao/blogcategories.class.php 2006-03-16 17:47:54 UTC (rev 3075)
+++ plog/trunk/class/dao/blogcategories.class.php 2006-03-16 17:53:38 UTC (rev 3076)
@@ -36,7 +36,7 @@
function addBlogCategory( &$category )
{
if( ($result = $this->add( $category, Array( CACHE_BLOGCATEGORIES => "getId" )))) {
- $this->_cache->removeData( "all", CACHE_BLOGCATEGORIES_ALL );
+ $this->_cache->removeData( "_all_", CACHE_BLOGCATEGORIES_ALL );
}
return( $result );
@@ -54,7 +54,7 @@
{
if( ($result = $this->delete( "id", $id ))) {
$this->_cache->removeData( $id, CACHE_BLOGCATEGORIES );
- $this->_cache->removeData( "all", CACHE_BLOGCATEGORIES_ALL );
+ $this->_cache->removeData( "_all_", CACHE_BLOGCATEGORIES_ALL );
}
return( $result );
More information about the pLog-svn
mailing list