From f840bcba676f09ecc976b4f74d408c51c331bc2a Mon Sep 17 00:00:00 2001 From: Phan Tung Bui Date: Wed, 28 Feb 2024 12:22:20 -0500 Subject: [PATCH] Bug 36027 : tidy check 1 --- misc/maintenance/search_for_data_inconsistencies.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/misc/maintenance/search_for_data_inconsistencies.pl b/misc/maintenance/search_for_data_inconsistencies.pl index 2f7b7a8a80..d7c9344ccf 100755 --- a/misc/maintenance/search_for_data_inconsistencies.pl +++ b/misc/maintenance/search_for_data_inconsistencies.pl @@ -16,7 +16,6 @@ # along with Koha; if not, see . use Modern::Perl; - use Koha::Script; use Koha::AuthorisedValues; use Koha::Authorities; @@ -62,7 +61,6 @@ CheckItemsFramework() if $options{'framework'}; CheckItemsTitle() if $options{'title'}; CheckAgeForCategory() if $options{'age'}; - sub CheckItemsBranch { my $items = Koha::Items->search({ -or => { homebranch => undef, holdingbranch => undef }}); if ( $items->count ) { new_section("Not defined items.homebranch and/or items.holdingbranch")} @@ -372,7 +370,6 @@ sub new_hint { say "=> $name"; } - =head1 SYNOPSIS search_for_data_inconsistencies.pl [options] @@ -385,7 +382,7 @@ Catch data inconsistencies in Koha database: * Authorities with undefined authtypecodes/authority types * Item types: * if item types are defined at item level (item-level_itypes=specific item), - then items.itype must be set else biblioitems.itemtype must be set + then items.itype must be set else biblioitems.itemtype must be set * Item types defined in items or biblioitems must be defined in the itemtypes table * Bibliographic records without a title * Invalid MARCXML in bibliographic records -- 2.34.1