Skip to content

Commit

Permalink
Removed usage of deprecated getKeys in favor of keys() from phpredis
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilwylegala committed Oct 19, 2023
1 parent 78e22f1 commit 443611d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/RedisEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function clear($check) {
if ($check) {
return true;
}
$keys = $this->_Redis->getKeys($this->settings['prefix'] . '*');
$keys = $this->_Redis->keys($this->settings['prefix'] . '*');
$this->_Redis->del($keys);

return true;
Expand Down

0 comments on commit 443611d

Please sign in to comment.