X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fsco%2Fsco-main.pl;h=40d591519b154a916a5125dd16bd8526f2ac4d9c;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=742f7f43ca1bcee9684cc29e848d293c2e3312d3;hpb=887022e0d23050d586970ef306df0d5630e1dd65;p=srvgit diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index 742f7f43ca..40d591519b 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -35,14 +35,11 @@ use Modern::Perl; use CGI qw ( -utf8 ); -use C4::Auth qw(get_template_and_user checkpw in_iprange); -use C4::Koha; -use C4::Circulation; +use C4::Auth qw( in_iprange get_template_and_user checkpw ); +use C4::Circulation qw( AddReturn CanBookBeIssued AddIssue CanBookBeRenewed AddRenewal ); use C4::Reserves; -use C4::Output; +use C4::Output qw( output_html_with_http_headers ); use C4::Members; -use C4::Biblio; -use C4::Items; use Koha::DateUtils qw( dt_from_string ); use Koha::Acquisition::Currencies; use Koha::Items; @@ -81,7 +78,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( flagsrequired => { self_check => "self_checkout_module" }, query => $query, type => "opac", - debug => 1, } );