Code

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

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

index ce1f7625723f66734b4cc2c1ea5542f2aa7d450e..d794cc807424ed315f00d06e2ea689428d6b2850 100644 (file)
@@ -8,7 +8,7 @@ class filterSYSTEMS {
         global $config;
 
         // Check whether the arp handling active or not
-        $arp_handling_active = ($config->search("ArpNewDevice","CLASS",array('tabs')) != "");
+        $arp_handling_active = $config->pluginEnabled("ArpNewDevice");
 
         $entries = filterLDAP::query($base, $scope, $filter, $attributes, $category, $objectStorage);