From: hickert Date: Mon, 10 May 2010 11:20:00 +0000 (+0000) Subject: Updated check for activated faiManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a5cb648335e621106164ae472be418a323127a07;p=gosa.git Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;