From: cajus Date: Thu, 28 Feb 2008 15:31:24 +0000 (+0000) Subject: Fixed backward compatiblilty code X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=944488f065e630199a63e984d96bb7d69201eb11;p=gosa.git Fixed backward compatiblilty code git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9194 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"; } }