From 2b9e8ed35ef6fd5f518330a694c58b2b246c19a7 Mon Sep 17 00:00:00 2001
From: Erick Hitter <ehitter@gmail.com>
Date: Thu, 27 Feb 2014 11:25:39 -0800
Subject: [PATCH] When clearing the cache, also clear the internal one.

---
 object-cache.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/object-cache.php b/object-cache.php
index d0a54f2..23ab4b8 100644
--- a/object-cache.php
+++ b/object-cache.php
@@ -913,6 +913,7 @@ class WP_Object_Cache {
 			sleep( $delay );
 		}
 
+		$this->cache = array();
 		$result = $this->redis->flushall();
 
 		return $result;
-- 
GitLab