Code

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

gosa-plugins/pptp/personal/connectivity/pptp/class_pptpAccount.inc

index 3bc07fea6829db849b1a28a4411d3741d3de36a8..a2766a7ed58f0abb774462d04bcff26c82925103 100644 (file)
@@ -179,6 +179,10 @@ class pptpAccount extends plugin
           "plPriority"      => 28,                                 // Position in tabs
           "plSection"     => array("personal" => _("My account")),
           "plCategory"    => array("users"),
+          "plRequirements"=> array(
+              'ldapSchema' => array('pptpServerAccount' => ''),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
           "plOptions"       => array(),
 
           "plProvidedAcls"  => array()