Bug 29058: Add 'Always show holds' checkbox to request.pl
[koha-ffzg.git] / C4 / Scrubber.pm
index 6e58af5..0fcd358 100644 (file)
@@ -21,14 +21,10 @@ package C4::Scrubber;
 
 use strict;
 use warnings;
-use Carp;
+use Carp qw( croak );
 use HTML::Scrubber;
 
 use C4::Context;
-use C4::Debug;
-
-our $VERSION = v3.07.00.049;
-
 
 my %scrubbertypes = (
     default => {}, # place holder, default settings are below as fallbacks in call to constructor
@@ -47,7 +43,6 @@ sub new {
     if ( !exists $scrubbertypes{$type} ) {
         croak "New called with unrecognized type '$type'";
     }
-    $debug and carp "Building new Scrubber of type '$type'";
     my $settings = $scrubbertypes{$type};
     my $scrubber = HTML::Scrubber->new(
         allow   => exists $settings->{allow} ? $settings->{allow} : [],
@@ -66,7 +61,6 @@ __END__
 =head1 C4::Sanitize
 
 Standardized wrapper with settings for building HTML::Scrubber tailored to various koha inputs.
-More verbose debugging messages are sent in the presence of non-zero $ENV{"DEBUG"}.
 
 The default is to scrub everything, leaving no markup at all.  This is compatible with the expectations
 for Tags.