Bug 17600: Fix missing imports from mappings.pl
[koha-ffzg.git] / admin / matching-rules.pl
index f6f8770..3cdbbb7 100755 (executable)
 use Modern::Perl;
 
 use CGI qw ( -utf8 );
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
-use C4::Koha;
+use C4::Output qw( output_html_with_http_headers );
 use C4::Matcher qw/valid_normalization_routines/;
 
 my $script_name = "/cgi-bin/koha/admin/matching-rules.pl";
 
-our $input = new CGI;
+our $input = CGI->new;
 my $op = $input->param('op') || '';
 
 
@@ -38,7 +37,6 @@ my ($template, $loggedinuser, $cookie)
                  query => $input,
                  type => "intranet",
                  flagsrequired => { parameters => 'manage_matching_rules' },
-                 debug => 1,
                  });
 
 $template->param(script_name => $script_name);