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