Bug 33020: Add missing Koha::Logger->history
[koha-ffzg.git] / opac / opac-renew.pl
index 8a946d0..46a2050 100755 (executable)
 use Modern::Perl;
 
 use CGI qw ( -utf8 );
-use C4::Circulation;
-use C4::Auth;
+use C4::Circulation qw( CanBookBeRenewed AddRenewal );
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Items;
 use C4::Members;
 use Koha::Items;
 use Koha::Patrons;
-use Date::Calc qw( Today Date_to_Days );
 my $query = CGI->new;
 
 my ( $template, $borrowernumber, $cookie ) = get_template_and_user(