diff --git a/upload/common.php b/upload/common.php index 8db1f20f3..d2cea6712 100644 --- a/upload/common.php +++ b/upload/common.php @@ -875,7 +875,14 @@ class cache_apc extends cache_common function rm ($name = '') { - return apc_delete($this->prefix . $name); + if ($name) + { + return apc_delete($this->prefix . $name); + } + else + { + return apc_clear_cache(); + } } function is_installed () @@ -922,7 +929,16 @@ class cache_xcache extends cache_common function rm ($name = '') { - return xcache_unset($this->prefix . $name); + if ($name) + { + return xcache_unset($this->prefix . $name); + } + else + { + xcache_clear_cache(XC_TYPE_PHP, 1); + xcache_clear_cache(XC_TYPE_VAR, 1); + return; + } } function is_installed () diff --git a/upload/config.php b/upload/config.php index 1444d5145..21239cb89 100644 --- a/upload/config.php +++ b/upload/config.php @@ -56,7 +56,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do // Increase number of revision after update $bb_cfg['tp_version'] = '2.5 Beta'; -$bb_cfg['tp_release_state'] = 'R440'; +$bb_cfg['tp_release_state'] = 'R441'; $bb_cfg['tp_release_date'] = '06-07-2012'; // Database