diff options
Diffstat (limited to 'program/lib/Roundcube/rcube_cache_shared.php')
-rw-r--r-- | program/lib/Roundcube/rcube_cache_shared.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_cache_shared.php b/program/lib/Roundcube/rcube_cache_shared.php index bef9e85f2..c43d2cad1 100644 --- a/program/lib/Roundcube/rcube_cache_shared.php +++ b/program/lib/Roundcube/rcube_cache_shared.php @@ -191,7 +191,7 @@ class rcube_cache */ function expunge() { - if ($this->type == 'db' && $this->db) { + if ($this->type == 'db' && $this->db && $this->ttl) { $this->db->query( "DELETE FROM " . $this->table . " WHERE cache_key LIKE ?" |