From: hickert Date: Wed, 26 May 2010 07:52:11 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=798fd2cd994e796a0c876bd64f4a7296f2546770;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18713 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc index a8d9da862..5e4115545 100644 --- a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc +++ b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc @@ -492,7 +492,10 @@ class phoneGeneric extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), - "plRequirements"=> array('ldapSchema' => array('goFonHardware' => '>=2.7')), + "plRequirements"=> array( + 'ldapSchema' => array('goFonHardware' => '>=2.7'), + 'onFailureDisablePlugin' => array(get_class()) + ), "plCategory" => array("phone" => array("description" => _("Phone hardware"), "objectClass" => "goFonHardware")), "plProperties" =>