KVStorage 버그 수정
This commit is contained in:
@@ -92,7 +92,7 @@ class KVStorage{
|
|||||||
if($onlyCache && $this->cacheData !== null && count($this->cacheData) > 0){
|
if($onlyCache && $this->cacheData !== null && count($this->cacheData) > 0){
|
||||||
return $this->cacheData;
|
return $this->cacheData;
|
||||||
}
|
}
|
||||||
$result = $this->getAll();
|
$result = $this->getDBAll();
|
||||||
if($this->cacheData !== null){
|
if($this->cacheData !== null){
|
||||||
$this->cacheData = $result;
|
$this->cacheData = $result;
|
||||||
}
|
}
|
||||||
@@ -171,7 +171,7 @@ class KVStorage{
|
|||||||
{
|
{
|
||||||
$result[$key] = Json::decode($value);
|
$result[$key] = Json::decode($value);
|
||||||
}
|
}
|
||||||
return $value;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getDBValues(array $keys): array{
|
private function getDBValues(array $keys): array{
|
||||||
|
|||||||
Reference in New Issue
Block a user