]> git.koha-community.org Git - koha.git/commit
Bug 30222: Further simplify logic
authorNick Clemens <nick@bywatersolutions.com>
Tue, 15 Mar 2022 13:34:39 +0000 (13:34 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Apr 2022 13:45:16 +0000 (09:45 -0400)
commit92c8bc7e4b7d39b5a4deb21ff3bc4bc6cce28c40
tree09bfcc0383d12fcb10b0416af45e972c7a86eac7
parent17f1793ba952e3a95f98ec777d56486611b7036d
Bug 30222: Further simplify logic

For any borrower, we are either:
1 - following their preference, and that should set 'wants_email'
OR
2 - Never sending / following the cron, and can determine 'wants_email'
    from the 'send_notices' variable

This patch adds an 'else' if not using preferences to accomplish this

Follow test plan on previous patches

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/cronjobs/automatic_renewals.pl