From f0398c87d9bd472d23b6dfce6943d97fbf9fabf5 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 13 Jun 2013 08:16:00 -0400
Subject: [PATCH] Use rcube_cache class to store attachments in database. Add options to configure TTL and cache type.

---
 program/steps/mail/viewsource.inc |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/program/steps/mail/viewsource.inc b/program/steps/mail/viewsource.inc
index f38ca76..c560d7d 100644
--- a/program/steps/mail/viewsource.inc
+++ b/program/steps/mail/viewsource.inc
@@ -17,9 +17,6 @@
  +-----------------------------------------------------------------------+
  | Author: Thomas Bruederli <roundcube@gmail.com>                        |
  +-----------------------------------------------------------------------+
-
- $Id$
-
 */
 
 ob_end_clean();
@@ -47,7 +44,7 @@
     header("Content-Disposition: attachment; filename=\"$filename\"");
   }
 
-  $RCMAIL->storage->print_raw_body($uid);
+  $RCMAIL->storage->print_raw_body($uid, empty($_GET['_save']));
 }
 else
 {

--
Gitblit v1.9.1