]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 Mar 2021 15:38:04 +0000 (16:38 +0100)
commit5a2dfc5ea36d45d7af9c0e4102f92a601e192b46
tree9c0f4a683dca4e246bc8b0bfc9e6ad6b83a9cd5e
parent3267648dedd04085f0adaa0bd70979cd839e7344
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>
misc/cronjobs/plugins_nightly.pl