From: hickert Date: Mon, 10 May 2010 11:19:38 +0000 (+0000) Subject: Updated check for activated faiManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b02711ea59868e30613876f6bf169f6731601749;p=gosa.git Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18206 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); }