From: hickert Date: Mon, 10 May 2010 11:19:49 +0000 (+0000) Subject: Updated check for activated faiManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3b4fd182c3b560027945d561dd378afe09e1f557;p=gosa.git Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18210 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index bac4049aa..d18078514 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -70,11 +70,7 @@ class servgeneric extends plugin function servgeneric (&$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);