fix: KVStorage deleteValue버그 수정
This commit is contained in:
1 parent
5abc367865
commit
46fd79ee6d
1 file changed
+4
-1
@@ -276,7 +276,10 @@ class KVStorage
|
|||||||
{
|
{
|
||||||
$key = Util::valueFromEnum($key);
|
$key = Util::valueFromEnum($key);
|
||||||
|
|
||||||
$this->cacheData->remove($key, null);
|
if($this->cacheData !== null){
|
||||||
|
$this->cacheData->remove($key, null);
|
||||||
|
}
|
||||||
|
|
||||||
return $this->deleteDBValue($key);
|
return $this->deleteDBValue($key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user