Bug 29394: Remove futuredate for renew
[koha-ffzg.git] / svc / cover_images
index 688067f..7531e8c 100755 (executable)
@@ -25,9 +25,9 @@ use C4::Auth qw/check_cookie_auth/;
 use Koha::CoverImages;
 use JSON qw/to_json/;
 
-my $input = new CGI;
+my $input = CGI->new;
 
-my ( $auth_status, $sessionID ) =
+my ( $auth_status ) =
         check_cookie_auth(
             $input->cookie('CGISESSID'),
             { tools => 'upload_local_cover_images' } );