Skip to content
Permalink
Browse files

fix delete processing

  • Loading branch information...
h-moriya committed Jun 16, 2017
1 parent 17f5c9d commit fd7a29db134c1ae6c1e734065ea4654e39b3c04f
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/Cache/Engine/RedisEngine.php
@@ -218,7 +218,12 @@ public function clear($check)
}
$keys = $this->_Redis->getKeys($this->_config['prefix'] . '*');
return !in_array(false, $this->deleteMany($keys));
$result = [];
foreach ($keys as $key) {
$result[] = $this->_Redis->delete($key) > 0;
}
return !in_array(false, $result);
}
/**

0 comments on commit fd7a29d

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