Bug 23384: Fix use statement order for ArticleRequest::Status

Koha::ArticleRequest is used by Koha::ArticleRequests so
Koha::ArticleRequest::Status should not be needed in
Koha::ArticleRequest.
Also Koha::ArticleRequest::Status must be loaded before
Koha::ArticleRequest

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 00379c1899)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2020-02-18 16:13:11 +01:00 committed by Lucas Gass
parent 8e1b95951f
commit d35840f11d
3 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,6 @@ use Koha::Patrons;
use Koha::Biblios;
use Koha::Items;
use Koha::Libraries;
use Koha::ArticleRequest::Status;
use Koha::DateUtils qw(dt_from_string);
use base qw(Koha::Object);

View File

@ -23,8 +23,8 @@ use Carp;
use Koha::Database;
use Koha::ArticleRequest;
use Koha::ArticleRequest::Status;
use Koha::ArticleRequest;
use base qw(Koha::Objects);

View File

@ -27,6 +27,8 @@ use Unicode::Normalize;
use C4::Context;
use C4::Log;
use Koha::Account;
use Koha::ArticleRequests;
use Koha::AuthUtils;
use Koha::Checkouts;
use Koha::Database;