Bug 5371: (follow-up) Force no caching for private pages at the OPAC

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 a988e9425c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit c5c954506f)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
This commit is contained in:
Jonathan Druart 2015-10-01 11:58:41 +01:00 committed by Liz Rea
parent b61d1c461b
commit f39504ec02
2 changed files with 2 additions and 2 deletions

View File

@ -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 };

View File

@ -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 };