Bug 19304: Move C4::Members::GetNoticeEmailAddress to Koha::Patron->notice_email_address
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Sep 2017 18:41:56 +0000 (15:41 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Jan 2018 14:46:40 +0000 (11:46 -0300)
commit3a5534fcf5c945e744a86422eb03251b40ea5894
treef4b83266e5b10abdb3bd964e8eec4b8d1107a4f4
parent9782fa1846575bba8a53e934a16ca94a55bea8b1
Bug 19304: Move C4::Members::GetNoticeEmailAddress to Koha::Patron->notice_email_address

This subroutine is quite trivial and can be replaced easily with a new
method of Koha::Patron

Test plan:
Overdue notices and shelf sharing must be send the to an email address,
according to the value of the pref AutoEmailPrimaryAddress

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Letters.pm
C4/Members.pm
C4/Reserves.pm
Koha/Patron.pm
misc/cronjobs/notice_unprocessed_suggestions.pl
misc/cronjobs/overdue_notices.pl
opac/opac-shareshelf.pl
t/db_dependent/Koha/Patrons.t
t/db_dependent/Members.t