Code

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

gosa-core/plugins/admin/ogroups/class_ogroup.inc

index 614b4a1f537b131c1784662dd8b0a541b1677ff1..97af881672e44db8ef933f6a2059451e4b08b7b0 100644 (file)
@@ -810,12 +810,7 @@ class ogroup extends plugin
 
   function IsReleaseManagementActivated()
   {
-    /* Check if we should enable the release selection */
-    $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
-    if(!empty($tmp)){
-      return(true);
-    }
-    return(false);
+    return($this->config->pluginEnabled("faiManagement"));
   }