Bug 17600: Standardize our EXPORT_OK
[srvgit] / admin / z3950servers.pl
index d2e85c6..d7dd416 100755 (executable)
 use Modern::Perl;
 use CGI qw ( -utf8 );
 use C4::Context;
-use C4::Auth;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 use Koha::Database;
 use Koha::Z3950Servers;
 
 # Initialize CGI, template, database
 
-my $input = new CGI;
+my $input = CGI->new;
 my $op = $input->param('op') || 'list';
 my $id = $input->param('id') || 0;
 my $type = $input->param('type') || '';
@@ -44,9 +44,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( {
     template_name => "admin/z3950servers.tt",
     query => $input,
     type => "intranet",
-    authnotrequired => 0,
     flagsrequired => { parameters => 'manage_search_targets' },
-    debug => 1,
 });
 my $script_name = "/cgi-bin/koha/admin/z3950servers.pl";
 $template->param( script_name => $script_name );