Code

Do not display nsRecord when dns editing zone entries
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Aug 2007 06:15:09 +0000 (06:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Aug 2007 06:15:09 +0000 (06:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7158 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDNSeditZoneEntries.inc

index 50812871960c60f872fcc874222198b83a7f53d2..ae5253eb72aa6241f7ee6d39d10be4b90aca7ef2 100644 (file)
@@ -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'];