Bug 14233: Add logging support to notices and slips management
[srvgit] / tools / batch_delete_records.pl
index 1dccbae..ea87d8b 100755 (executable)
@@ -33,7 +33,7 @@ use Koha::Authorities;
 use Koha::Biblios;
 use Koha::Items;
 
-my $input = new CGI;
+my $input = CGI->new;
 my $op = $input->param('op') // q|form|;
 my $recordtype = $input->param('recordtype') // 'biblio';
 
@@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({
         template_name => 'tools/batch_delete_records.tt',
         query => $input,
         type => "intranet",
-        authnotrequired => 0,
         flagsrequired => { tools => 'records_batchdel' },
 });