From 798fd2cd994e796a0c876bd64f4a7296f2546770 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:52:11 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18713 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/admin/systems/gofon/class_phoneGeneric.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" => -- 2.30.2