From 47833c386668441a8f2f7d0d9b0657beadb80afc Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:19:55 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18212 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationGeneric.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 1d9885c3e..432d377ef 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -64,10 +64,7 @@ class workgeneric extends plugin function workgeneric (&$config, $dn= NULL, $parent= NULL) { - $tmp= $config->search("faiManagement", "CLASS",array('menu','tabs')); - if(!empty($tmp)){ - $this->fai_activated = TRUE; - } + $this->fai_activated = $config->pluginEnabled("faiManagement"); plugin::plugin ($config, $dn, $parent); -- 2.30.2