summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d869450)
raw | patch | inline | side by side (parent: d869450)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 11:19:49 +0000 (11:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 11:19:49 +0000 (11:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18210 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index bac4049aa5ca70b4fa027e301d1ea19586b2eb77..d1807851467555571c0db8832ea9dfa70e5347f0 100644 (file)
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);