From a988e9425ce1f8f4bf28b46473adac941d634973 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 --- 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 718a86e62e..dfd273a20a 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 3848aaa847..dc87c56dcd 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 }; -- 2.39.5