summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/lib/Roundcube/rcube_imap_cache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/lib/Roundcube/rcube_imap_cache.php b/program/lib/Roundcube/rcube_imap_cache.php
index a505d121a..061ac546d 100644
--- a/program/lib/Roundcube/rcube_imap_cache.php
+++ b/program/lib/Roundcube/rcube_imap_cache.php
@@ -640,13 +640,13 @@ class rcube_imap_cache
$db = $rcube->get_dbh();
$db->query("DELETE FROM ".$db->table_name('cache_messages')
- ." WHERE expired < " . $db->now());
+ ." WHERE expires < " . $db->now());
$db->query("DELETE FROM ".$db->table_name('cache_index')
- ." WHERE expired < " . $db->now());
+ ." WHERE expires < " . $db->now());
$db->query("DELETE FROM ".$db->table_name('cache_thread')
- ." WHERE expired < " . $db->now());
+ ." WHERE expires < " . $db->now());
}