Code

Updated selectable record types when editing zone entries
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Aug 2007 06:16:04 +0000 (06:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Aug 2007 06:16:04 +0000 (06:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7159 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDNSeditZoneEntries.inc

index 152aef84d89f777a32a73cc00590c835cc9c0f42..3d86d940cfe238b99fca78e9cf218ca974c95767 100644 (file)
@@ -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();