From: hickert Date: Mon, 10 May 2010 11:19:55 +0000 (+0000) Subject: Updated check for activated faiManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47833c386668441a8f2f7d0d9b0657beadb80afc;p=gosa.git Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18212 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);