X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Ffunctions_dns.inc;h=1eeba0c359f2dd7ab00bb277ed32162e8b8f42bb;hb=c98b37e992e237594d57ef86bddfb54de5f38a7b;hp=2474333db0fd122413f21a3f8b6afbcecbb5ea52;hpb=3bc2da945427209baa527db529a40fd9a34ac9c8;p=gosa.git diff --git a/include/functions_dns.inc b/include/functions_dns.inc index 2474333db..1eeba0c35 100644 --- a/include/functions_dns.inc +++ b/include/functions_dns.inc @@ -46,9 +46,9 @@ function getDnsRecordTypes($ForZones = false) } -/* this is used to flip the ip address for example - 12.3.45 -> 54.3.12 - Because some entries (like zones) are store like that 54.3.12.in-addr.arpa +/* This fucntion is used to flip the ip address, for example + 12.3.45 -> 45.3.12 + Because some entries (like zones) are store like that 45.3.12.in-addr.arpa but we want to display 12.3.45. */ function FlipIp($ip) @@ -603,8 +603,6 @@ function getAvailableZones($config) $ldap = $config->get_ldap_link(); $ldap->cd ($config->current['BASE']); - restore_error_handler(); - /* Search for zones ... */ $ldap->search("(&(objectClass=dNSZone)(sOARecord=*))",array("zoneName"));