X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=tools%2Fcsv-profiles.pl;h=2883f71d49b2c61628db3ced1984df20e3f0a949;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=e6a7bdaa0d8d7a994b558d4930909758d9e58a83;hpb=96cc447045f3f1d3702a3c69b36f596d88f38eda;p=srvgit diff --git a/tools/csv-profiles.pl b/tools/csv-profiles.pl index e6a7bdaa0d..2883f71d49 100755 --- a/tools/csv-profiles.pl +++ b/tools/csv-profiles.pl @@ -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, } );