Code

Remove leftover "Remove" option. Closes #747
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Oct 2009 07:53:24 +0000 (07:53 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Oct 2009 07:53:24 +0000 (07:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14711 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc

index 59e15d71270328d9496007132f604e4f6e0266e6..c436a0708f014999dd9893a480cc5cde0361f04b 100644 (file)
@@ -162,16 +162,6 @@ class servdns extends goService
       $this->is_account= !$this->is_account;
     }
 
-    if ($this->is_account){
-      $display= $this->show_disable_header(_("Remove DNS service"),
-          _("This server has DNS features enabled. You can disable them by clicking below."));
-    } else {
-      $display= $this->show_enable_header(_("Add DNS service"),
-          _("This server has DNS features disabled. You can enable them by clicking below."));
-      return ($display);
-    }
-
-
     /* Edited or Added zone 
      */
     if(isset($_POST['SaveZoneChanges'])){