]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Jul 2021 13:05:48 +0000 (09:05 -0400)
commit1c49ccaa8e1b066e14d32b60ce1e2211d201e7cb
tree4c218208d0d1609a899d217b87256f482c1c5293
parentf0e2fc04f3713e2494b2a8aad84b719e45b21765
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Reserves.pm
Koha/Illrequest.pm
circ/pendingreserves.pl
misc/cronjobs/notice_unprocessed_suggestions.pl
misc/cronjobs/overdue_notices.pl
suggestion/suggestion.pl