Code

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

gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc

index ec84f6050cfce98348367e3df0d159427e5340dd..a3c73e5f4dd0adbbdb89c44a9d23dabd2028bbda 100644 (file)
@@ -638,11 +638,7 @@ class mimetype extends plugin
     if(is_object($this->parent->parent)){
       return($this->parent->parent->IsReleaseManagementActivated());
     }else{
-      /* Check if we should enable the release selection */
-      $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
-      if(!empty($tmp)){
-        return(true);
-      }
+      return($this->config->pluginEnabled("faiManagement"));
     }
     return(FALSE);
   }