From: hickert Date: Wed, 29 Aug 2007 06:15:09 +0000 (+0000) Subject: Do not display nsRecord when dns editing zone entries X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=016a2d49ab59c5db35543da9478a209681ae0314;p=gosa.git Do not display nsRecord when dns editing zone entries git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7158 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc index 508128719..ae5253eb7 100644 --- a/plugins/admin/systems/class_servDNSeditZoneEntries.inc +++ b/plugins/admin/systems/class_servDNSeditZoneEntries.inc @@ -24,6 +24,12 @@ class servDNSeditZoneEntries extends plugin /* Initialise class */ $this->RecordTypes = getDnsRecordTypes(); + + /* Remove nSRecord from listed types */ + if(isset($this->RecordTypes['nSRecord'])){ + unset($this->RecordTypes['nSRecord']); + } + $this->dn = "zoneName=".getNameFromMix($zoneObject['InitialzoneName']).",".$dn; $this->zoneName = $zoneObject['InitialzoneName']; $this->reverseName = $zoneObject['InitialReverseZone'];