Bug 21719: Fix typos
[koha.git] / misc / batchDeleteUnusedSubfields.pl
index 04c071a..a1c5093 100755 (executable)
@@ -2,6 +2,7 @@
 # small script that rebuilds the non-MARC DB
 
 use strict;
+#use warnings; FIXME - Bug 2505
 BEGIN {
     # find Koha's Perl modules
     # test carefully before changing this
@@ -10,9 +11,7 @@ BEGIN {
 }
 
 # Koha modules used
-# use MARC::File::USMARC;
 use MARC::Record;
-use MARC::Batch;
 use C4::Context;
 use C4::Biblio;
 use Time::HiRes qw(gettimeofday);
@@ -31,7 +30,7 @@ if ($version || (!$confirm)) {
 This script cleans unused subfields in the MARC DB.
 If you alter the MARC parameters and remove a subfield (ie : move it to ignore (10) tab), existing subfields are NOT removed.
 It's not a bug, it prevents deleting useful values in case of erroneous move.
-This script definetly remove unused subfields in the MARC DB.
+This script definitely remove unused subfields in the MARC DB.
 syntax :
 \t./cleanmarcdb.pl -h (or without arguments => shows this screen)
 \t./cleanmarcdb.pl -c (c like confirm => cleans the marc DB (may be long)