From 612b04ac306b8b1d557c5a5d49816be783437ed3 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 22 Jul 2015 06:17:28 -0400
Subject: [PATCH] Reset internal cache index in close()

---
 program/lib/Roundcube/rcube_cache_shared.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/program/lib/Roundcube/rcube_cache_shared.php b/program/lib/Roundcube/rcube_cache_shared.php
index d025de8..32ce4e8 100644
--- a/program/lib/Roundcube/rcube_cache_shared.php
+++ b/program/lib/Roundcube/rcube_cache_shared.php
@@ -237,6 +237,9 @@
         }
 
         $this->write_index();
+
+        // reset internal cache index, thanks to this we can force index reload
+        $this->index = null;
     }
 
 

--
Gitblit v1.9.1