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:
parent
18daee91ff
commit
f72d9f2962
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue