Code

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

gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc

index 9d0ae67f5bf1d4b8f0ba51d0b6af633140dcb5f3..9fa355989cae2abf4860a824485009d6557ace45 100644 (file)
@@ -28,11 +28,7 @@ class appgroup extends plugin
     $this->a_Structure_on_load = $this->a_Structure;
 
     /* Check if we have relase mangement enabled and prepare group application for release management */
-    $tmp = $config->search("faiManagement", "CLASS",array('menu','tabs'));
-    if(!empty($tmp)){
-      $this->enableReleaseManagement = true;
-    }
-
+    $this->enableReleaseManagement  = $this->config->pluginEnabled("faiManagement");
     $this->Releases   = $this->getReleases();
 
     /* Set intial release */