Bugzilla – Attachment 118114 Details for
Bug 27820
plugins_nightly.pl script missing use
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27820: add all missing use in misc/cronjobs/plugins_nightly.pl
Bug-27820-add-all-missing-use-in-misccronjobsplugi.patch (text/plain), 1.03 KB, created by
Martin Renvoize (ashimema)
on 2021-03-11 11:20:15 UTC
(
hide
)
Description:
Bug 27820: add all missing use in misc/cronjobs/plugins_nightly.pl
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-11 11:20:15 UTC
Size:
1.03 KB
patch
obsolete
>From ba909bc7fc8d37e9b3fcbf21a7abef096688dc4b Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 1 Mar 2021 11:40:56 +0100 >Subject: [PATCH] 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> >--- > misc/cronjobs/plugins_nightly.pl | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/misc/cronjobs/plugins_nightly.pl b/misc/cronjobs/plugins_nightly.pl >index 8a45ddd702..f748637e1e 100755 >--- a/misc/cronjobs/plugins_nightly.pl >+++ b/misc/cronjobs/plugins_nightly.pl >@@ -2,9 +2,13 @@ > > use Modern::Perl; > >+use Try::Tiny; >+ >+use C4::Context; >+use C4::Log; > use Koha::Logger; >+use Koha::Plugins; > use Koha::Script -cron; >-use C4::Log; > > cronlogaction(); > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27820
:
117427
|
117435
|
117436
|
118111
|
118112
|
118113
| 118114