From fbcfbb715642dec9f32764902b7c43f0b6076ed1 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 9 May 2022 21:42:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20KVStorage=20deleteValue=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sammo/KVStorage.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sammo/KVStorage.php b/src/sammo/KVStorage.php index 9539c773..51333d49 100644 --- a/src/sammo/KVStorage.php +++ b/src/sammo/KVStorage.php @@ -276,7 +276,10 @@ class KVStorage { $key = Util::valueFromEnum($key); - $this->cacheData->remove($key, null); + if($this->cacheData !== null){ + $this->cacheData->remove($key, null); + } + return $this->deleteDBValue($key); }