Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23652/core
Modified Files:
Tag: BRANCH_1_0_0rc4
config_api.php
Log Message:
fix for 0006594: config_flush_cache does not work correctly
Index: config_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/config_api.php,v
retrieving revision 1.35
retrieving revision 1.35.6.1
diff -u -d -r1.35 -r1.35.6.1
--- config_api.php 30 Jul 2005 18:10:40 -0000 1.35
+++ config_api.php 16 Jan 2006 19:58:42 -0000 1.35.6.1
@@ -351,7 +351,7 @@
# delete the config entry from the cache
# @@@ to be used sparingly
function config_flush_cache( $p_option='', $p_user = ALL_USERS, $p_project = ALL_PROJECTS ) {
- global $g_cache_config, $g_cache_config_access;
+ global $g_cache_config, $g_cache_config_access, $g_cache_filled;
if ( '' !== $p_option ) {
unset( $GLOBALS['g_cache_config'][$p_option][$p_user][$p_project] );
|