From df9d004cf838ec3e7e8f26d8255ffb78665c1c59 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 13 Jun 2013 07:47:09 -0400
Subject: [PATCH] Set TTL for attachments stored in sql database

---
 plugins/redundant_attachments/config.inc.php.dist |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/redundant_attachments/config.inc.php.dist b/plugins/redundant_attachments/config.inc.php.dist
index 6c317ea..a0be375 100644
--- a/plugins/redundant_attachments/config.inc.php.dist
+++ b/plugins/redundant_attachments/config.inc.php.dist
@@ -6,8 +6,8 @@
 // to use memcache as a fallback when write-master is unavailable.
 $rcmail_config['redundant_attachments_memcache'] = false;
 
-// When memcache is used, attachment data expires after
-// specied TTL time in seconds (max.2592000). Default is 12 hours.
-$rcmail_config['redundant_attachments_memcache_ttl'] = 12 * 60 * 60;
+// Attachment data expires after specied TTL time in seconds (max.2592000).
+// Default is 12 hours.
+$rcmail_config['redundant_attachments_cache_ttl'] = 12 * 60 * 60;
 
 ?>

--
Gitblit v1.9.1