diff options
author | alecpl <alec@alec.pl> | 2011-10-03 18:04:14 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-10-03 18:04:14 +0000 |
commit | 130cdcf7d0d0389a0c7653d25397fb5f4ddf5877 (patch) | |
tree | f3ec27cf1d9761f705c8c403f12f4e4d88a0da21 /program/include/rcube_cache.php | |
parent | f537504ed05a31762b0270ae22d1a00e5c9af41e (diff) |
- Small improvement for handling redundant cache queries (followup to r5303)
Diffstat (limited to 'program/include/rcube_cache.php')
-rw-r--r-- | 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 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; } } |