]> git.koha-community.org Git - koha.git/commit
Bug 28581: Use from_email_address in the codebase
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 17 Jun 2021 09:59:18 +0000 (09:59 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Jul 2021 13:05:48 +0000 (09:05 -0400)
commit17ac49efaf66a7b92637a2e8cbc1da2d28e49603
treee0043f53957763c63697ded8fcb3f0a8aa42cd1c
parenteff0187295b69e6eb7e7d80cd9ad0a6fb6c30c51
Bug 28581: Use from_email_address in the codebase

Adding only a few (trivial) cases now. Changes in C4::Letters
are not trivial after all..
We now add the KohaAdminEmail fallback implicitly when the from
address was still empty. The extra check makes us not rely on
a do or die action in Email::Stuffer.

Test plan:
Run password recovery or membership expiry cron.
Check sender address.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Letters.pm
Koha/Patron/Password/Recovery.pm
misc/cronjobs/automatic_renewals.pl
misc/cronjobs/membership_expiry.pl