Bug 21133: Fix use statements order
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 31 Jul 2018 18:24:10 +0000 (15:24 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jul 2018 19:28:02 +0000 (16:28 -0300)
commitce96080f3005be5a63c9f2cab8d4b6c81e9b5b27
treeea25528261a17be4e5aacd1623f61ea2e1e55dd6
parent96f253d5ed2f1770b42f06554ebb4c4e14b3afdf
Bug 21133: Fix use statements order

Basically the idea is:
1. Undefined subroutine &C4::Items::ModZebra called at /home/vagrant/kohaclone/C4/Items.pm line 302.

=> Then use C4::Items before C4::Biblio

2. Undefined subroutine &C4::Circulation::GetItem called at /home/vagrant/kohaclone/C4/Circulation.pm line 1290

=> Then use C4::Circulation before C4::Items

And sometimes these 2 rules do not work...

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
30 files changed:
t/db_dependent/Circulation/Branch.t
t/db_dependent/Circulation/Chargelostitem.t
t/db_dependent/Circulation/CheckIfIssuedToPatron.t
t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t
t/db_dependent/Circulation/IsItemIssued.t
t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
t/db_dependent/Circulation/TooMany.t
t/db_dependent/Circulation/issue.t
t/db_dependent/Circulation/transfers.t
t/db_dependent/CourseReserves.t
t/db_dependent/Holds.t
t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t
t/db_dependent/Holds/LocalHoldsPriority.t
t/db_dependent/Holds/RevertWaitingStatus.t
t/db_dependent/Items.t
t/db_dependent/Items/AutomaticItemModificationByAge.t
t/db_dependent/Items/DelItem.t
t/db_dependent/Koha/Biblios.t
t/db_dependent/Koha/Object.t
t/db_dependent/Koha/Patrons.t
t/db_dependent/Labels/t_Batch.t
t/db_dependent/Members/GetAllIssues.t
t/db_dependent/Members/IssueSlip.t
t/db_dependent/Patron/Borrower_Discharge.t
t/db_dependent/Reserves.t
t/db_dependent/RotatingCollections.t
t/db_dependent/ShelfBrowser.t
t/db_dependent/api/v1/holds.t