From 0630c3e72c1d781b3e0be7419e89ecd2cfbe8f3f Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 18 Mar 2016 11:31:41 +0000 Subject: [PATCH] Bug 7736 amend edi_cron.pl to use new style call to Context Bug 9006 changed the api for retrieving config values from C4::Context after the removal of Autoload This changes the syntax used to retrieve logdir to reflect the correct syntax --- misc/cronjobs/edi_cron.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/edi_cron.pl b/misc/cronjobs/edi_cron.pl index 8ba9a14..e22ab42 100755 --- a/misc/cronjobs/edi_cron.pl +++ b/misc/cronjobs/edi_cron.pl @@ -36,7 +36,7 @@ use Koha::EDI qw( process_quote process_invoice process_ordrsp); use Koha::Edifact::Transport; use Fcntl qw( :DEFAULT :flock :seek ); -my $logdir = C4::Context->logdir; +my $logdir = C4::Context->context('logdir'); # logging set to trace as this may be what you # want on implementation -- 2.5.0