Bug 41674: Fix review issues - remove unused import, fix POD synopsis, remove unused variable

Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-08-25 11:26:00 +02:00 committed by Pedro Amorim
parent 8526f2ac3b
commit 36606ea9d6
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 1 additions and 4 deletions

View File

@ -20,8 +20,6 @@ package Koha::Template::Plugin::LinkPref;
use Modern::Perl;
use Koha::Patrons;
use Template::Plugin::Filter;
use base qw( Template::Plugin::Filter );
our $DYNAMIC = 1;
@ -58,7 +56,7 @@ Koha::Template::Plugin::LinkPref - TT plugin for wrapping a system preference na
[% "SYSTEM_PREFERENCE_NAME" | html | $LinkPref %]
This filter scrubs HTML using profiles predefined in C4::Scrubber
This filter wraps a system preference name in a link to that preference if the user has permission.
=head1 METHODS

View File

@ -57,7 +57,6 @@
<h1>Curbside pickup configuration</h1>
[% UNLESS Koha.Preference('CurbsidePickup') %]
[% SET pref_CurbsidePickup_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup">CurbsidePickup</a>' %]
<div class="alert alert-info">The [% "CurbsidePickup" | html | $LinkPref %] preference is not enabled, do not forget to enable it to turn the feature on.</div>
[% END %]
<form method="post" class="form">