From: hickert Date: Mon, 10 May 2010 11:19:32 +0000 (+0000) Subject: Updated check for activated faiManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9fc2b259ca82549d869526b07aa5f6405b22f281;p=gosa.git Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18204 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc index c74dc903f..16ab54023 100644 --- a/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc +++ b/gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc @@ -184,8 +184,7 @@ class faiSummaryTab extends plugin{ plugin::execute(); /* Skip this if fai is deactivated */ - $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs')); - if(empty($tmp)){ + if(!$this->config->pluginEnabled("faiManagement")){ $str = "

"._("You can't use this plugin until FAI is activated.")."

"; return $str; }