Skip to content
Snippets Groups Projects
Commit 2b9e8ed3 authored by Erick Hitter's avatar Erick Hitter
Browse files

When clearing the cache, also clear the internal one.

parent 4286a218
No related branches found
No related tags found
No related merge requests found
...@@ -913,6 +913,7 @@ class WP_Object_Cache { ...@@ -913,6 +913,7 @@ class WP_Object_Cache {
sleep( $delay ); sleep( $delay );
} }
$this->cache = array();
$result = $this->redis->flushall(); $result = $this->redis->flushall();
return $result; return $result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment