From f932d671e929401ec519372082a1a2810b259337 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 23 Sep 2011 10:11:27 +0000 Subject: - Make the whole PHP output non-cacheable (#1487797) git-svn-id: https://svn.roundcube.net/trunk@5274 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/export.inc | 1 - roundcubemail/program/steps/mail/get.inc | 2 -- roundcubemail/program/steps/mail/show.inc | 2 -- 3 files changed, 5 deletions(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/addressbook/export.inc b/roundcubemail/program/steps/addressbook/export.inc index a710aa204..8ba1c08b6 100644 --- a/roundcubemail/program/steps/addressbook/export.inc +++ b/roundcubemail/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/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc index 4eccd287e..d4dcd0a84 100644 --- a/roundcubemail/program/steps/mail/get.inc +++ b/roundcubemail/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/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc index 0766583a4..97cac5822 100644 --- a/roundcubemail/program/steps/mail/show.inc +++ b/roundcubemail/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