Code

Added requirement dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:53:06 +0000 (07:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:53:06 +0000 (07:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18735 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc

index d79bbfaa0ff639c56356bb1296cb243c65242b4f..2c6b5249ed9389196f33412e28fb3793e94609d3 100644 (file)
@@ -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")),