From 6e26c32d50ebc74c3a7372ec5779e629c20cecd8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 1 Oct 2015 11:58:41 +0100 Subject: [PATCH] [Signed-off] Bug 5371: (follow-up) Force no caching for private pages at the OPAC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same as previous patch for opac-messaging.pl and opac-readingrecord.pl Signed-off-by: Marc VĂ©ron --- opac/opac-messaging.pl | 2 +- opac/opac-readingrecord.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-messaging.pl b/opac/opac-messaging.pl index 718a86e..dfd273a 100755 --- a/opac/opac-messaging.pl +++ b/opac/opac-messaging.pl @@ -66,4 +66,4 @@ $template->param( BORROWER_INFO => [ $borrower ], SMSSendDriver => C4::Context->preference("SMSSendDriver"), TalkingTechItivaPhone => C4::Context->preference("TalkingTechItivaPhoneNotification") ); -output_html_with_http_headers $query, $cookie, $template->output; +output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index 3848aaa..dc87c56 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -150,4 +150,4 @@ $template->param( OPACMySummaryHTML => $opac_summary_html ? 1 : 0, ); -output_html_with_http_headers $query, $cookie, $template->output; +output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; -- 1.7.10.4