From a6e7f966b5336b1e6eeabcf69bd9ed9694f3d51a Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:51:57 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18708 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc index 1d9549aaa..0ba59a011 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeGeneric.inc @@ -616,7 +616,10 @@ class mimetype extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), - "plRequirements"=> array('ldapSchema' => array('gotoMimeType' => '>=2.7')), + "plRequirements"=> array( + 'ldapSchema' => array('gotoMimeType' => '>=2.7'), + 'onFailureDisablePlugin' => array(get_class(), 'mimetypeManagement') + ), "plCategory" => array("mimetypes" => array("description" => _("Mime types"), "objectClass" => "gotoMimeType")), -- 2.30.2