From a5cb648335e621106164ae472be418a323127a07 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:20:00 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/services/repository/class_servRepository.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index 963f2618b..0a5df4395 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -30,8 +30,7 @@ class servrepository extends goService $this->repositoryMangement = new repositoryManagement($this->config,$this); /* Skip this if fai is deactivated */ - $tmp= $this->config->search("faiManagement", "CLASS",array('menu','tabs')); - if(!empty($tmp)){ + if($this->config->pluginEnabled("faiManagement")){ $this->fai_activated = TRUE; }else{ return; -- 2.30.2