Bug 5229: Remove from searching.pref
[koha-ffzg.git] / tools / quotes-upload.pl
index 8ca4583..6efb6da 100755 (executable)
@@ -22,10 +22,9 @@ use Modern::Perl;
 use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
-use C4::Auth;
-use C4::Koha;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 
 my $cgi = CGI->new;
 
@@ -35,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
         query           => $cgi,
         type            => "intranet",
         flagsrequired   => { tools => 'edit_quotes' },
-        debug           => 1,
     }
 );