From 130cdcf7d0d0389a0c7653d25397fb5f4ddf5877 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 03 Oct 2011 14:04:14 -0400
Subject: [PATCH] - Small improvement for handling redundant cache queries (followup to r5303)

---
 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