From 8fe8f1aedeea910e46cf2a8f5b760b28b659ca44 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 30 Oct 2009 07:53:24 +0000 Subject: [PATCH] Remove leftover "Remove" option. Closes #747 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14711 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dns/admin/systems/services/dns/class_servDNS.inc | 10 ---------- 1 file changed, 10 deletions(-) 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'])){ -- 2.30.2