diff --git a/object-cache.php b/object-cache.php index 4f8d7fd85822ca480bf953dd0ee55c2b4746f16b..b9b48d425776c00f2e7d728c4df3a7c2f219d60c 100644 --- a/object-cache.php +++ b/object-cache.php @@ -416,7 +416,7 @@ class WP_Object_Cache { } $this->cache = array(); - $result = $this->parse_predis_response( $this->redis->flushall() ); + $result = $this->parse_predis_response( $this->redis->flushdb() ); return $result; }