From 1292f3cfce3ee6facfbc0769234282b2b426b765 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 1 Apr 2008 06:23:43 +0000 Subject: [PATCH] Removed unused LDAP references. closes #386. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10098 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/ArpHandler.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gosa-si/modules/ArpHandler.pm b/gosa-si/modules/ArpHandler.pm index 3bc46cfd0..ded762b9e 100644 --- a/gosa-si/modules/ArpHandler.pm +++ b/gosa-si/modules/ArpHandler.pm @@ -94,14 +94,7 @@ sub get_module_info { &main::daemon_log("Loading OUI cache file suceeded!", 6); } } - my $ldap_handle = &main::get_ldap_handle(); - if(defined($ldap_uri) && length($ldap_uri)>0) { - if (!$ldap_handle) { - &main::daemon_log("Could not connect to LDAP Server at $ldap_uri!\n$@", 1); - } - } else { - $ldap_handle= undef; - } + my $ldap_handle = &main::get_ldap_handle(); # When interface is not configured (or 'all'), start arpwatch on all possible interfaces if ((!defined($arp_interface)) || $arp_interface eq 'all') { -- 2.30.2