|
From: Jon O. <jon...@us...> - 2005-05-01 20:18:32
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2796/includes Modified Files: mx_cache.php Log Message: minor cache related fixes Index: mx_cache.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_cache.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_cache.php 1 May 2005 16:02:12 -0000 1.5 --- mx_cache.php 1 May 2005 20:18:09 -0000 1.6 *************** *** 145,150 **** if ( MX_CACHE_DEBUG ) { echo('writing id block cache'); } ! $block_config = $this->_get_block_config( $block_id, 0 ); ! $this->_data2cache( $block_config, $cache_file, $action, $type ); break; --- 145,150 ---- if ( MX_CACHE_DEBUG ) { echo('writing id block cache'); } ! $block_config = $this->_get_block_config( $id, 0 ); ! $this->_data2cache( $block_config[$id], $cache_file, $action, $type ); break; *************** *** 969,971 **** --- 969,977 ---- } + function update_session_cache( $block_id = '' ) + { + global $mx_cache; + + $mx_cache->update( MX_BLOCK, $block_id ); + } ?> \ No newline at end of file |