Bug 17600: Standardize our EXPORT_OK
[srvgit] / tools / csv-profiles.pl
index e6a7bda..2883f71 100755 (executable)
@@ -37,11 +37,10 @@ This script allow the user to define a new profile for CSV export
 use Modern::Perl;
 use Encode;
 
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 use CGI qw ( -utf8 );
-use C4::Koha;
 use Koha::CsvProfiles;
 
 my $input            = CGI->new;
@@ -54,7 +53,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
         query           => $input,
         type            => "intranet",
         flagsrequired   => { tools => 'manage_csv_profiles' },
-        debug           => 1,
     }
 );