Bug 29086: (follow-up) Remove unrequired Koha::ArticleRequest::Status uses
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Sep 2021 19:53:50 +0000 (16:53 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Oct 2021 08:54:59 +0000 (10:54 +0200)
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 <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
Koha/Patrons.pm

index f53d372..e805baa 100644 (file)
@@ -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;
index 4f2b559..8e8bed9 100644 (file)
@@ -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;