Bug 16258: (QA follow-up) Add a guard to the cron script
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
53a632431f
commit
21223c7c5e
|
|
@ -38,6 +38,8 @@ use Koha::Edifact::Transport;
|
|||
use Koha::Plugins::Handler;
|
||||
use Fcntl qw( LOCK_EX O_CREAT O_RDWR SEEK_SET );
|
||||
|
||||
die "Syspref 'Edifact' is disabled" unless C4::Context->preference('Edifact');
|
||||
|
||||
my $logdir = C4::Context->config('logdir');
|
||||
|
||||
# logging set to trace as this may be what you
|
||||
|
|
|
|||
Loading…
Reference in New Issue