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>
This commit is contained in:
Lucas Gass 2024-01-30 20:38:15 +00:00 committed by Katrin Fischer
parent 112a76650c
commit c9f6a4981a
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

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';