From 0173fc02202be9cb189ceb3bd5cc6f04b57a41df 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 Content-Type: text/plain; charset=utf-8 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 --- Koha/Biblio.pm | 1 - Koha/Patrons.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 968a370b25..dadb53b322 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 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.20.1