From b02711ea59868e30613876f6bf169f6731601749 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:19:38 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18206 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc index ec84f6050..a3c73e5f4 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc @@ -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); } -- 2.30.2