From 6ac422cc8e22801f8d698a4ba68359048d5bfc47 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 12:17:58 +0000 Subject: [PATCH] Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18225 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index 22e97b8d2..dc37a1897 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -103,7 +103,7 @@ class termDNS extends plugin /* Hide all dhcp specific code, if dhcp plugin is not present in config */ $this->dhcpEnabled = FALSE; - if($this->config->search("servdhcp","class",array("tabs"))){ + if($this->config->pluginEnabled("servdhcp")){ $this->dhcpEnabled = TRUE; } -- 2.30.2