Bug 5371: (follow-up) Force no caching for private pages at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Oct 2015 10:58:41 +0000 (11:58 +0100)
committerLiz Rea <wizzyrea@gmail.com>
Fri, 11 Dec 2015 02:17:35 +0000 (15:17 +1300)
Same as previous patch for opac-messaging.pl and opac-readingrecord.pl

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit a988e9425ce1f8f4bf28b46473adac941d634973)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit c5c954506f5400b8732ee37c52d86c009215ec8f)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>

opac/opac-messaging.pl
opac/opac-readingrecord.pl

index b1d88f9..df9d948 100755 (executable)
@@ -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 };
index 3515892..87e3b90 100755 (executable)
@@ -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 };