]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 15 Apr 2022 18:19:18 +0000 (18:19 +0000)
commite9a25818d9c4534f8d5de9f3f7a10ef8bfd9a861
tree8dff65495c21d7041ccdd4c1413c4278d3f75f7d
parent22bce346d197172f56df38a55aea41e4a9c855ca
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>
(cherry picked from commit 92c8bc7e4b7d39b5a4deb21ff3bc4bc6cce28c40)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
misc/cronjobs/automatic_renewals.pl