From c5c954506f5400b8732ee37c52d86c009215ec8f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 1 Oct 2015 11:58:41 +0100 Subject: [PATCH] Bug 5371: (follow-up) Force no caching for private pages at the OPAC MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Same as previous patch for opac-messaging.pl and opac-readingrecord.pl Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit a988e9425ce1f8f4bf28b46473adac941d634973) Signed-off-by: Frédéric Demians --- 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 d669387293..7e3d217bd1 100755 --- a/opac/opac-messaging.pl +++ b/opac/opac-messaging.pl @@ -68,4 +68,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 795e90c08d..740e92d17b 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -151,4 +151,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 }; -- 2.39.5