Code

added schema dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 10:38:58 +0000 (10:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 10:38:58 +0000 (10:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18771 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc

index 524745f78ad6d19a2f19a612f2c682f34346727a..88d83c78ad3b0cda5fcab46f5be5ed8aa1ed1fe4 100644 (file)
@@ -277,6 +277,10 @@ class nagiosAccount extends plugin
           "plSection"     => array("personal" => _("My account")),
           "plCategory"    => array("users"),
           "plOptions"       => array(),
+          "plRequirements"=> array(
+              'ldapSchema' => array('nagiosContact'=>'','nagiosAuth' => ''),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
 
           "plProvidedAcls"  => array(