From: hickert Date: Wed, 26 May 2010 07:51:57 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a6e7f966b5336b1e6eeabcf69bd9ed9694f3d51a;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18708 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 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")),