From c5fa0cadcb34f122a87415f67b63a5e398a06a03 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 6 Jun 2025 01:24:25 +0000 Subject: [PATCH] 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 --- C4/Scrubber.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/C4/Scrubber.pm b/C4/Scrubber.pm index 855524e2b6..f5201418e7 100644 --- a/C4/Scrubber.pm +++ b/C4/Scrubber.pm @@ -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 { -- 2.39.5