From 544619a4550da562e849ac9d05152d8055d009b9 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 21 Oct 2011 12:26:40 -0400
Subject: [PATCH] - Fix threads cache validation when skip_deleted=true

---
 program/include/rcube_cache.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_cache.php b/program/include/rcube_cache.php
index 69f5b31..018d5f5 100644
--- a/program/include/rcube_cache.php
+++ b/program/include/rcube_cache.php
@@ -264,7 +264,7 @@
                 $this->cache_sums[$key] = $md5sum;
                 $this->cache[$key]      = $data;
             }
-            else if (!$nostore) {
+            else {
                 $this->cache[$key] = null;
             }
         }
@@ -294,7 +294,7 @@
 	            $this->cache_sums[$key] = $md5sum;
                 $this->cache_keys[$key] = $sql_arr['cache_id'];
             }
-            else if (!$nostore) {
+            else {
                 $this->cache[$key] = null;
             }
         }

--
Gitblit v1.9.1