From: cajus Date: Fri, 30 Oct 2009 07:53:24 +0000 (+0000) Subject: Remove leftover "Remove" option. Closes #747 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8fe8f1aedeea910e46cf2a8f5b760b28b659ca44;p=gosa.git Remove leftover "Remove" option. Closes #747 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14711 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc index 59e15d712..c436a0708 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc @@ -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'])){