From 12f1190a62f4df7d681a320b00c2c906b9158c70 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 13 Jun 2013 13:04:20 +0200 Subject: Fix typos in sql queries of garbage collector (expired -> expires) --- program/lib/Roundcube/rcube_imap_cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/lib/Roundcube/rcube_imap_cache.php') 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()); } -- cgit v1.2.3