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

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Colin Campbell 2016-03-18 11:31:41 +00:00 committed by Brendan A Gallagher
parent acb68d2160
commit 10e5a58c5b

View file

@ -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