From 9335f9cede5b510586c199a14cdd4ab0187a2eec Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 22 Jul 2015 06:15:48 -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 12b8fa2..290afe1 100644
--- a/program/lib/Roundcube/rcube_cache_shared.php
+++ b/program/lib/Roundcube/rcube_cache_shared.php
@@ -228,6 +228,9 @@
         if ($this->index_changed) {
             $this->write_index();
         }
+
+        // reset internal cache index, thanks to this we can force index reload
+        $this->index = null;
     }
 
     /**

--
Gitblit v1.9.1