From 107176a07bdb8ee28fe443d7a3701401e016fa9f 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 Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- Koha/Biblio.pm | 1 - Koha/Patrons.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index f53d372ee9..e805baace9 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -32,7 +32,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 4f2b55956a..8e8bed9a0c 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.39.5