]> git.koha-community.org Git - koha.git/commit
Bug 29054: Add verbose check for warn in advance_notices.pl
authorHayley Pelham <hayleypelham@catalyst.net.nz>
Mon, 20 Sep 2021 04:23:11 +0000 (04:23 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 22 Jan 2022 07:34:51 +0000 (21:34 -1000)
commit50d2f00d45524d1e4abeb912888aa4f172729778
tree15d1907ec9649413c85e743509479baa9d09df8b
parentc5a4c193f44a7829d766a49c1b8b0a842aca4bf4
Bug 29054: Add verbose check for warn in advance_notices.pl

To test:
1) Set EnhancedMessagingPreferences to Don't allow
2) In the koha-shell, run misc/cronjobs/advance_notices.pl -c
3) Note that you see the warning "The "EnhancedMessagingPreferences"
syspref is off... etc."
4) Apply the patch and restart services
5) In the koha-shell, run misc/cronjobs/advance_notices.pl -c and note
the warning no longer shows
6) Still in the shell, run misc/cronjobs/advance_notices.pl -c -v and
note the warning does show

Sponsored-by: Catalyst IT
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/advance_notices.pl