Bug 29387: Stringify exceptions for other background job modules
[koha-ffzg.git] / catalogue / search-history.pl
index 6a920c6..42bef7c 100755 (executable)
 use Modern::Perl;
 use CGI qw ( -utf8 );
 
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Search::History;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my ($template, $loggedinuser, $cookie) = get_template_and_user({
     template_name   => 'catalogue/search-history.tt',