From 9e54e6fd455326185b54b5e2cb1b7936c7817670 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 23 Sep 2011 10:11:27 +0000 Subject: - Make the whole PHP output non-cacheable (#1487797) --- program/steps/addressbook/export.inc | 1 - program/steps/mail/get.inc | 2 -- program/steps/mail/show.inc | 2 -- 3 files changed, 5 deletions(-) (limited to 'program/steps') diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc index a710aa204..8ba1c08b6 100644 --- a/program/steps/addressbook/export.inc +++ b/program/steps/addressbook/export.inc @@ -66,7 +66,6 @@ else { } // send downlaod headers -send_nocacheing_headers(); header('Content-Type: text/x-vcard; charset='.RCMAIL_CHARSET); header('Content-Disposition: attachment; filename="rcube_contacts.vcf"'); diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index 4eccd287e..d4dcd0a84 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -64,8 +64,6 @@ if (!empty($_GET['_uid'])) { $MESSAGE = new rcube_message(get_input_value('_uid', RCUBE_INPUT_GET)); } -send_nocacheing_headers(); - // show part page if (!empty($_GET['_frame'])) { $OUTPUT->send('messagepart'); diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 0766583a4..97cac5822 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -30,8 +30,6 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { rcmail_message_error($uid); } - send_nocacheing_headers(); - $mbox_name = $IMAP->get_mailbox_name(); // show images? -- cgit v1.2.3