Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed apcu delete when deleting only one item
givanzc723095a1e08
diff --git a/system/cache/apcu.php b/system/cache/apcu.phpindex 6adc4e0..b0a5ee3 100755--- a/system/cache/apcu.php+++ b/system/cache/apcu.php@@ -93,11 +93,10 @@ class APCu {public function delete($namespace, $key = '') {if ($this->active) {if ($namespace) {- return apcu_delete(new \APCUIterator('/' . $this->key($namespace, $key) . '.*/'));-if ($key) {return apcu_delete($this->key($namespace, $key));} else {+ return apcu_delete(new \APCUIterator('/' . $this->key($namespace, $key) . '.*/'));$cache_info = apcu_cache_info();$cache_list = $cache_info['cache_list'];