From 0d601d26fd2e4385293a6d3ddea437e4e45446e8 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 22 Sep 2021 16:53:50 -0300 Subject: [PATCH] Bug 29086: (follow-up) Remove unrequired Koha::ArticleRequest::Status uses I noticed a couple places in which this library was included but not used. To test: 1. Apply this patch 2. Run: $ git grep 'Koha::ArticleRequest::Status' => SUCCESS: There aren't any calls to their defined constants in Biblio.pm or Patrons.pm 3. Sign off :-D Signed-off-by: Martin Renvoize --- Koha/Biblio.pm | 1 - Koha/Patrons.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 968a370b254..dadb53b3227 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -31,7 +31,6 @@ use Koha::DateUtils qw( dt_from_string ); use base qw(Koha::Object); use Koha::Acquisition::Orders; -use Koha::ArticleRequest::Status; use Koha::ArticleRequests; use Koha::Biblio::Metadatas; use Koha::Biblioitems; diff --git a/Koha/Patrons.pm b/Koha/Patrons.pm index 4f2b55956a7..8e8bed9a0cc 100644 --- a/Koha/Patrons.pm +++ b/Koha/Patrons.pm @@ -25,7 +25,6 @@ use Koha::Database; use Koha::DateUtils qw( dt_from_string ); use Koha::ArticleRequests; -use Koha::ArticleRequest::Status; use Koha::Patron; use Koha::Exceptions::Patron; use Koha::Patron::Categories; -- 2.20.1