summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-13 13:04:20 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-13 13:04:20 +0200
commit12f1190a62f4df7d681a320b00c2c906b9158c70 (patch)
tree6b3dbf9d6d4665ebbc5cd1604cd59a821b01e827 /program/lib/Roundcube
parent603e048f7307e260bf0f064ed73700d6723a0e5c (diff)
Fix typos in sql queries of garbage collector (expired -> expires)
Diffstat (limited to 'program/lib/Roundcube')
-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());
}