Bug 32336: (QA follow-up) Use $metadata->schema
[srvgit] / misc / batchdeletebiblios.pl
index 9bc999a..0abe2b4 100755 (executable)
@@ -1,13 +1,13 @@
 #!/usr/bin/perl
 
 use Modern::Perl;
-use Getopt::Long;
-use Pod::Usage;
-use IO::File;
+use Getopt::Long qw( GetOptions );
+use Pod::Usage qw( pod2usage );
 
-use C4::Biblio;
+use Koha::Script;
+use C4::Biblio qw( DelBiblio );
 
-my ($help, $files);
+my $help;
 GetOptions(
     'h|help' => \$help,
 );
@@ -75,12 +75,18 @@ Copyright 2012 BibLibre
 
 This file is part of Koha.
 
-Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later version.
+Koha is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
 
-You should have received a copy of the GNU General Public License along
-with Koha; if not, write to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+Koha is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 =head1 DISCLAIMER OF WARRANTY