From 9fc2b259ca82549d869526b07aa5f6405b22f281 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:19:32 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18204 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.30.2