From 12f1190a62f4df7d681a320b00c2c906b9158c70 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 13 Jun 2013 07:04:20 -0400
Subject: [PATCH] Fix typos in sql queries of garbage collector (expired -> expires)
---
program/lib/Roundcube/rcube_imap_cache.php | 6 +++---
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 a505d12..061ac54 100644
--- a/program/lib/Roundcube/rcube_imap_cache.php
+++ b/program/lib/Roundcube/rcube_imap_cache.php
@@ -640,13 +640,13 @@
$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());
}
--
Gitblit v1.9.1