diff --git a/system/Cache/Handlers/RedisHandler.php b/system/Cache/Handlers/RedisHandler.php index 9e1003d10ac2..529932bfca10 100644 --- a/system/Cache/Handlers/RedisHandler.php +++ b/system/Cache/Handlers/RedisHandler.php @@ -180,7 +180,7 @@ public function deleteMatching(string $pattern) do { // Scan for some keys - $keys = $this->redis->scan($iterator, $pattern); + $keys = $this->redis->scan($iterator, $this->prefix.$pattern); // Redis may return empty results, so protect against that if ($keys !== false) {