From e00aec751a0a4798b55909f940c5f12056bf58fd Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 29 Aug 2007 06:16:04 +0000 Subject: [PATCH] Updated selectable record types when editing zone entries git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7159 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDNSeditZoneEntries.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc index 152aef84d..3d86d940c 100644 --- a/plugins/admin/systems/class_servDNSeditZoneEntries.inc +++ b/plugins/admin/systems/class_servDNSeditZoneEntries.inc @@ -32,6 +32,11 @@ class servDNSeditZoneEntries extends plugin $this->zoneName = $zoneObject['InitialzoneName']; $this->reverseName = $zoneObject['InitialReverseZone']; + /* Remove nSRecord from listed types */ + if(isset($this->RecordTypes['nSRecord'])){ + unset($this->RecordTypes['nSRecord']); + } + /* Get ldap connection */ $ldap = $this->config->get_ldap_link(); -- 2.30.2