Code

Replaced config->search with get_cfg_value
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 12:17:58 +0000 (12:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 12:17:58 +0000 (12:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18225 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_termDNS.inc

index 22e97b8d2b9b9a851a38dba9fcde43ddac745be0..dc37a189764298d1204f79dda65bfe547c31b61e 100644 (file)
@@ -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;
     }