summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-23 10:11:27 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-23 10:11:27 +0000
commitf932d671e929401ec519372082a1a2810b259337 (patch)
treedda198884c538c40e89bf77605019857617684ee /roundcubemail/program/steps
parent0fda3164b7460c255b08f1c3e79cdfd16d2fd37b (diff)
- Make the whole PHP output non-cacheable (#1487797)
git-svn-id: https://svn.roundcube.net/trunk@5274 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/addressbook/export.inc1
-rw-r--r--roundcubemail/program/steps/mail/get.inc2
-rw-r--r--roundcubemail/program/steps/mail/show.inc2
3 files changed, 0 insertions, 5 deletions
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?