Bug 15548: Move new patron related code to Patron*
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Jan 2016 15:57:59 +0000 (15:57 +0000)
committerJesse Weaver <jweaver@bywatersolutions.com>
Thu, 3 Mar 2016 21:38:26 +0000 (14:38 -0700)
commit3691bd8419ee9a481b95af525bc7e0c08f4c4640
tree78ad9ad4e5c8ec2594a5d70a0bd2270568faea59
parentd53daa339212c025be637adf37df732e1ba08e5b
Bug 15548: Move new patron related code to Patron*

The 'borrower' should not be used anymore, especially for new code.
This patch move files and rename variables newly pushed (i.e. in the Koha
namespace).

Test plan:
1/
  git grep Koha::Borrower
should not return code in use.

2/
Prove the different modified test files

3/ Do some clicks in the member^Wpatron module to be sure there is not
an obvious error.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described. Tested with Circulation, Members/Patrons, Discharge,
Restrictions modules and the must common functionalities

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
56 files changed:
C4/Circulation.pm
C4/Members.pm
Koha/Hold.pm
Koha/Item.pm
Koha/Misc/Files.pm
Koha/Patron.pm [moved from Koha/Borrower.pm with 85% similarity]
Koha/Patron/Debarments.pm [moved from Koha/Borrower/Debarments.pm with 97% similarity]
Koha/Patron/Discharge.pm [moved from Koha/Borrower/Discharge.pm with 96% similarity]
Koha/Patron/Files.pm [moved from Koha/Borrower/Files.pm with 88% similarity]
Koha/Patron/Modifications.pm [moved from Koha/Borrower/Modifications.pm with 88% similarity]
Koha/Patrons.pm [moved from Koha/Borrowers.pm with 89% similarity]
Koha/REST/V1.pm
Koha/REST/V1/Patrons.pm
Koha/Template/Plugin/Borrowers.pm
Koha/Virtualshelf.pm
about.pl
admin/categories.pl
circ/circulation.pl
circ/ysearch.pl
mainpage.pl
members/discharge.pl
members/discharges.pl
members/files.pl
members/memberentry.pl
members/members-home.pl
members/members-update-do.pl
members/members-update.pl
members/mod_debarment.pl
members/moremember.pl
misc/cronjobs/cleanup_database.pl
misc/cronjobs/longoverdue.pl
misc/cronjobs/overdue_notices.pl
opac/opac-discharge.pl
opac/opac-memberentry.pl
opac/opac-privacy.pl
opac/opac-registration-verify.pl
opac/opac-reserve.pl
opac/opac-user.pl
reserve/request.pl
t/Borrower.t [deleted file]
t/Patron.t [new file with mode: 0755]
t/db_dependent/Accounts.t
t/db_dependent/BiblioObject.t
t/db_dependent/Circulation/AnonymiseIssueHistory.t
t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t
t/db_dependent/Creators/Lib.t
t/db_dependent/Hold.t
t/db_dependent/Koha_borrower_modifications.t
t/db_dependent/Patron.t [moved from t/db_dependent/Borrower.t with 85% similarity]
t/db_dependent/Patron/Borrower_Debarments.t [moved from t/db_dependent/Borrower_Debarments.t with 94% similarity]
t/db_dependent/Patron/Borrower_Discharge.t [moved from t/db_dependent/Borrower_Discharge.t with 50% similarity]
t/db_dependent/Patron/Borrower_Files.t [moved from t/db_dependent/Borrower_Files.t with 98% similarity]
t/db_dependent/Patrons.t [moved from t/db_dependent/Borrowers.t with 65% similarity]
t/db_dependent/Review.t
t/db_dependent/api/v1/patrons.t
tools/import_borrowers.pl