Bug 35952: Remove unnecessary line for OpacSuppressionMessage

To test:
1. Apply patch and restart all
2. Add an additional contetn entry for `OpacSuppressionMessage`, make
   sure it has a publication date in the past.
3. Make sure  OpacSuppression is set to 'hide'.
4. Suppress a record in the OPAC, ( 942$n )
5. Visit the detail page for that record and make sure you
   OpacSuppressionMessage customization displays.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c9f6a4981a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Lucas Gass 2024-01-30 20:38:15 +00:00 committed by Fridolin Somers
parent 0b4ffdfd26
commit 5e0a2d4eea

View file

@ -33,6 +33,4 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
}
);
$template->param ( OpacSuppressionMessage => C4::Context->preference('OpacSuppressionMessage'));
output_with_http_headers $query, $cookie, $template->output, 'html';