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