summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-07-31 15:44:37 +0200
committerByron Jones <bjones@mozilla.com>2013-07-31 15:44:37 +0200
commit49dfaed80a4a534473a19a78d19d4d2df95c88b9 (patch)
treef9866eb02827946d6fbcf765cd81c3c12c31b716 /Bugzilla/Attachment
parente9f07c7e2bc8dcf66381ed588ddd955d77b7d26f (diff)
downloadbugzilla-49dfaed80a4a534473a19a78d19d4d2df95c88b9.tar.gz
bugzilla-49dfaed80a4a534473a19a78d19d4d2df95c88b9.tar.xz
Bug 896330: patchreader should not set the "expires" header
r=sgreen, a=sgreen
Diffstat (limited to 'Bugzilla/Attachment')
-rw-r--r--Bugzilla/Attachment/PatchReader.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm
index 7bbbfacae..b29240c5b 100644
--- a/Bugzilla/Attachment/PatchReader.pm
+++ b/Bugzilla/Attachment/PatchReader.pm
@@ -296,8 +296,7 @@ sub setup_template_patch_reader {
&& Bugzilla->params->{'cvsroot_get'} && !$vars->{'newid'};
# Print everything out.
- print $cgi->header(-type => 'text/html',
- -expires => '+3M');
+ print $cgi->header(-type => 'text/html');
$last_reader->sends_data_to(new PatchReader::DiffPrinter::template($template,
"attachment/diff-header.$format.tmpl",