Skip to content

Commit

Permalink
Fix Correspond to RedisCluster from RedisEngine::clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
h-moriya committed Jun 14, 2017
1 parent 471e6e5 commit 17f5c9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Cache/Engine/RedisEngine.php
Expand Up @@ -217,9 +217,8 @@ public function clear($check)
return true;
}
$keys = $this->_Redis->getKeys($this->_config['prefix'] . '*');
$this->_Redis->del($keys);

return true;
return !in_array(false, $this->deleteMany($keys));
}

/**
Expand Down

0 comments on commit 17f5c9d

Please sign in to comment.