Code

Updated check for activated faiManagement
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 11:20:00 +0000 (11:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 11:20:00 +0000 (11:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18214 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc

index 963f2618b78341074c8d3e82522cd07ee444f415..0a5df439552e567a7dd74514d74885ee4f35e5d9 100644 (file)
@@ -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;