From 944488f065e630199a63e984d96bb7d69201eb11 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 28 Feb 2008 15:31:24 +0000 Subject: [PATCH] Fixed backward compatiblilty code git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9194 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/SIPackages.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index c0df99640..1859b3003 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -751,8 +751,7 @@ sub new_ldap_config { if (not $server =~ /^\d+:[^:]+:ldap[^:]*:\/\// ) { if ($server =~ /^([^:]+):([^:]+)$/ ) { $server= "1:dummy:ldap://$1/$2"; - } - if ($server =~ /^(\d+):([^:]+):(.*)$/ ) { + } elsif ($server =~ /^(\d+):([^:]+):(.*)$/ ) { $server= "$1:dummy:ldap://$2/$3"; } } -- 2.30.2