From 130cdcf7d0d0389a0c7653d25397fb5f4ddf5877 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 3 Oct 2011 18:04:14 +0000 Subject: - Small improvement for handling redundant cache queries (followup to r5303) --- program/include/rcube_cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/include/rcube_cache.php b/program/include/rcube_cache.php index 69f5b3176..018d5f57f 100644 --- a/program/include/rcube_cache.php +++ b/program/include/rcube_cache.php @@ -264,7 +264,7 @@ class rcube_cache $this->cache_sums[$key] = $md5sum; $this->cache[$key] = $data; } - else if (!$nostore) { + else { $this->cache[$key] = null; } } @@ -294,7 +294,7 @@ class rcube_cache $this->cache_sums[$key] = $md5sum; $this->cache_keys[$key] = $sql_arr['cache_id']; } - else if (!$nostore) { + else { $this->cache[$key] = null; } } -- cgit v1.2.3