diff --git a/Koha/Template/Plugin/LinkPref.pm b/Koha/Template/Plugin/LinkPref.pm index a53dbda600..0bc54fe856 100644 --- a/Koha/Template/Plugin/LinkPref.pm +++ b/Koha/Template/Plugin/LinkPref.pm @@ -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 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt index 08de35f28f..21b28a7f6b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt @@ -57,7 +57,6 @@

Curbside pickup configuration

[% UNLESS Koha.Preference('CurbsidePickup') %] - [% SET pref_CurbsidePickup_link = 'CurbsidePickup' %]
The [% "CurbsidePickup" | html | $LinkPref %] preference is not enabled, do not forget to enable it to turn the feature on.
[% END %]