From c70cf17135e0cf3f4ed11b735e05a8c4aaa32e18 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:19:52 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18211 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_terminalGeneric.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index c706e6245..ed94f6d27 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -61,10 +61,7 @@ class termgeneric extends plugin function termgeneric (&$config, $dn= NULL, $parent= NULL) { /* Check if FAI is activated */ - $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