From 743236b9db25162d1c22d2aca6d4bba1a8f32364 Mon Sep 17 00:00:00 2001 From: Tomas Plesnik <plesnik@ics.muni.cz> Date: Tue, 13 Jan 2015 14:46:17 +0100 Subject: [PATCH] globalni promenne jsou pri volani WardenClientCommon.pm jiz nactene, proto neni potreba je znovu nacitat z konfiguraku --- src/warden-client/lib/WardenClientCommon.pm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/warden-client/lib/WardenClientCommon.pm b/src/warden-client/lib/WardenClientCommon.pm index 83d38e5..fc2276c 100755 --- a/src/warden-client/lib/WardenClientCommon.pm +++ b/src/warden-client/lib/WardenClientCommon.pm @@ -15,16 +15,9 @@ use SOAP::Transport::HTTP; use Sys::Syslog qw(:DEFAULT setlogsock); Sys::Syslog::setlogsock('unix'); use Carp; -use File::Basename; our $VERSION = "2.2"; -# load client configuration -my $lib = File::Basename::dirname(__FILE__); -my $etc = "$lib/../etc"; -my $conf_file = "$etc/warden-client.conf"; -loadConf($conf_file); - #------------------------------------------------------------------------------- # errMsg - prints error msg and returns undef or prints warning and returns 1 -- GitLab