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.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/program/lib/Roundcube/rcube_cache.php b/program/lib/Roundcube/rcube_cache.php
index c674089..fb1d5e1 100644
--- a/program/lib/Roundcube/rcube_cache.php
+++ b/program/lib/Roundcube/rcube_cache.php
@@ -233,6 +233,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