From 016a2d49ab59c5db35543da9478a209681ae0314 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 29 Aug 2007 06:15:09 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_servDNSeditZoneEntries.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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']; -- 2.30.2