]> git.koha-community.org Git - koha.git/commit
Bug 27820: add all missing use in misc/cronjobs/plugins_nightly.pl
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 1 Mar 2021 10:40:56 +0000 (11:40 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Mar 2021 13:05:23 +0000 (14:05 +0100)
commit3cd1ac19db164a99e95b590d641fb2405d0c54dc
tree216f549de902bd573cda053024f11091748ee46c
parent6ce4a561b1deb466f4141e75011b9a44845a8205
Bug 27820: add all missing use in misc/cronjobs/plugins_nightly.pl

Koha::Plugins and C4::Context where missing.
Try::Tiny was missing for try/catch.

Test plan :
1) Use a plugin using hook 'cronjob_nightly'
2) Run script : misc/cronjobs/plugins_nightly.pl

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5a2dfc5ea36d45d7af9c0e4102f92a601e192b46)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/plugins_nightly.pl