- Small improvement for handling redundant cache queries (followup to r5303)

release-0.7
alecpl 13 years ago
parent f537504ed0
commit 130cdcf7d0

@ -264,7 +264,7 @@ class rcube_cache
$this->cache_sums[$key] = $md5sum; $this->cache_sums[$key] = $md5sum;
$this->cache[$key] = $data; $this->cache[$key] = $data;
} }
else if (!$nostore) { else {
$this->cache[$key] = null; $this->cache[$key] = null;
} }
} }
@ -294,7 +294,7 @@ class rcube_cache
$this->cache_sums[$key] = $md5sum; $this->cache_sums[$key] = $md5sum;
$this->cache_keys[$key] = $sql_arr['cache_id']; $this->cache_keys[$key] = $sql_arr['cache_id'];
} }
else if (!$nostore) { else {
$this->cache[$key] = null; $this->cache[$key] = null;
} }
} }

Loading…
Cancel
Save