From: hickert Date: Mon, 10 May 2010 11:19:41 +0000 (+0000) Subject: Updated check for activated faiManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d55616de28deb541fb8cdce394706a2c710fa89;p=gosa.git Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18207 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc index 0ba844224..5c287006c 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc @@ -162,11 +162,7 @@ class mimetypeManagement extends management 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")); } }