Skip to content
Permalink
Browse files

Fix Correspond to RedisCluster from RedisEngine::clear()

  • Loading branch information...
h-moriya committed Jun 14, 2017
1 parent 471e6e5 commit 17f5c9d76f5652b9c7d588eeba6cb3cc51283f42
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Cache/Engine/RedisEngine.php
@@ -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));
}
/**

0 comments on commit 17f5c9d

Please sign in to comment.
You can’t perform that action at this time.