X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=Koha%2FScript.pm;h=d9e11ea7d8edb5ad5cca8b5f69e20f55f15986f0;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=aaa2e8b5607a1bae8ebdd8b750a376e35b5eaffe;hpb=af7e41d1142573666d302a8475274ea58e5c99f4;p=srvgit diff --git a/Koha/Script.pm b/Koha/Script.pm index aaa2e8b560..d9e11ea7d8 100644 --- a/Koha/Script.pm +++ b/Koha/Script.pm @@ -35,8 +35,8 @@ This class should be used in all scripts. It sets the interface and userenv appr =cut -use File::Basename; -use Fcntl qw(:flock); +use File::Basename qw( fileparse ); +use Fcntl qw( LOCK_EX LOCK_NB ); use C4::Context; use Koha::Exceptions;