Bug 40087: Remove "tag" and "staff" scrubber profiles

This patch removes unused "tag" and "staff" scrubber profiles.

Test plan:
0. Apply the patch
1. prove t/Koha/Plugins/HtmlScrubber.t
2. prove t/Scrubber.t
3. Grep around the code for C4::Scrubber and make sure "tag"
and "staff" aren't used as arguments for C4::Scrubber

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e846abeeb7)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
David Cook 2025-06-06 01:24:25 +00:00 committed by Paul Derscheid
parent 18daee91ff
commit f72d9f2962
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 0 additions and 5 deletions

View File

@ -28,13 +28,8 @@ use C4::Context;
my %scrubbertypes = (
default => {}, # place holder, default settings are below as fallbacks in call to constructor
tag => {}, # uses defaults
comment => { allow => [qw( br b i em big small strong )], },
note => { allow => [qw[ br b i em big small strong u hr span div p ]] },
staff => {
default => [ 1 => { '*' => 1 } ],
comment => 1,
},
);
sub new {