From: hickert Date: Wed, 26 May 2010 07:53:06 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=652b2f2b123c4c878fdf089850c817bd0cfa6f93;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18735 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc index d79bbfaa0..2c6b5249e 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc @@ -578,7 +578,10 @@ class macro extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), - "plRequirements"=> array('ldapSchema' => array('goFonMacro' => '>=2.7')), + "plRequirements"=> array( + 'ldapSchema' => array('goFonMacro' => '>=2.7'), + 'onFailureDisablePlugin' => array(get_class(),'phoneAccount','phoneConferenceManagment','goFonMacro') + ), "plCategory" => array("gofonmacro" => array("description" => _("GOfon macro"), "objectClass" => "goFonMacro")),