]> git.koha-community.org Git - koha.git/commit
Bug 28581: Use 'from_email_address' where appropriate
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 17 Jun 2021 13:30:59 +0000 (14:30 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 23 Jun 2021 13:09:55 +0000 (15:09 +0200)
commit7c7794f1b250abf5fc8c82fa30e4f2c97df38727
tree8df325372affe6919a6b93fac5e6999942418c13
parent7c6575e86a87b40c9a82d17ea928ffea066cefc7
Bug 28581: Use 'from_email_address' where appropriate

This patch replaces a few more trivial cases where we were using
library->branchemail with a fallback to KohaAdminEmail to just use the
new library->from_email_address method directly instead.

There were also a couple of cases where we were passing borrowernumber
and the patrons library from address too.. this is unneccesary as the
code in _send_email_massage will already default to patron library from
address if we do not pass an override.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Added a semicolon.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Reserves.pm
Koha/Illrequest.pm
circ/pendingreserves.pl
misc/cronjobs/notice_unprocessed_suggestions.pl
misc/cronjobs/overdue_notices.pl
suggestion/suggestion.pl