From: hickert Date: Mon, 10 May 2010 12:17:58 +0000 (+0000) Subject: Replaced config->search with get_cfg_value X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6ac422cc8e22801f8d698a4ba68359048d5bfc47;p=gosa.git Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18225 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }