X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=circ%2Fon-site_checkouts.pl;h=41e9a877bdd2a0b098d9192a28c0a16d88b6c232;hb=f41f272ff087d65ed11d760e6c7c58818c3a24d4;hp=6118a56b697e205db4d905e49fcd55587bba7e26;hpb=638786e719fb297ae976061b09a71f3d788416f4;p=koha-ffzg.git diff --git a/circ/on-site_checkouts.pl b/circ/on-site_checkouts.pl index 6118a56b69..41e9a877bd 100755 --- a/circ/on-site_checkouts.pl +++ b/circ/on-site_checkouts.pl @@ -18,13 +18,12 @@ use Modern::Perl; -use C4::Auth; +use C4::Auth qw( get_template_and_user ); use C4::Circulation qw( GetPendingOnSiteCheckouts ); -use C4::Output; -use C4::Koha; +use C4::Output qw( output_html_with_http_headers ); use Koha::BiblioFrameworks; -my $cgi = new CGI; +my $cgi = CGI->new; my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( {