diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-03 18:04:14 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-03 18:04:14 +0000 |
| commit | 71e07bc5627d535e51e88c12a5ab2ca957ad5495 (patch) | |
| tree | 476044fd5086566cfde2117e22e56ffe3f0ceb67 /roundcubemail/program/include/rcube_cache.php | |
| parent | 100cfd6b82d767226f8f4d53211d69d788b18a57 (diff) | |
- Small improvement for handling redundant cache queries (followup to r5303)
git-svn-id: https://svn.roundcube.net/trunk@5305 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_cache.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_cache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_cache.php b/roundcubemail/program/include/rcube_cache.php index 69f5b3176..018d5f57f 100644 --- a/roundcubemail/program/include/rcube_cache.php +++ b/roundcubemail/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; } } |
