]> git.koha-community.org Git - koha.git/commit
Bug 18395: (bug 14610 followup) Remove article requests methods from Koha::Patrons
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Apr 2017 01:30:19 +0000 (22:30 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:30:39 +0000 (08:30 -0400)
commita6c26f009536e831461c1e91f8bafe07ca75d283
treec76157365eacd0eac9062093708f6a89f8c36f1c
parent87d1d42f525e2430e9a5f574758495fc32947a9f
Bug 18395: (bug 14610 followup) Remove article requests methods from Koha::Patrons

There is something very wrong with the new subroutines, they have been added to both Koha::Patron and Koha::Patrons:

% git grep 'sub article_request' Koha/Patron*.pm
Koha/Patron.pm:sub article_requests {
Koha/Patron.pm:sub article_requests_current {
Koha/Patron.pm:sub article_requests_finished {
Koha/Patrons.pm:sub article_requests {
Koha/Patrons.pm:sub article_requests_current {
Koha/Patrons.pm:sub article_requests_finished {

The ones in Koha::Patrons are wrong

Test plan:
  prove t/db_dependent/ArticleRequests.t
should still return green

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Patrons.pm