diff options
Diffstat (limited to 'program/lib/Roundcube/rcube_cache.php')
-rw-r--r-- | program/lib/Roundcube/rcube_cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_cache.php b/program/lib/Roundcube/rcube_cache.php index 92f12a8bf..129f3242d 100644 --- a/program/lib/Roundcube/rcube_cache.php +++ b/program/lib/Roundcube/rcube_cache.php @@ -192,7 +192,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->db->table_name('cache'). " WHERE user_id = ?". |