Code

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

gosa-plugins/pureftpd/personal/connectivity/pureftpd/class_pureftpdAccount.inc

index 201fe8a2b88cf9da99aa8a86fb98bb6ed56cce3a..72744c9b037c3434e9cd1d2241ae0ea8396f640c 100644 (file)
@@ -260,6 +260,10 @@ class pureftpdAccount extends plugin
           "plPriority"      => 22,                                 // Position in tabs
           "plSection"     => array("personal" => _("My account")),
           "plCategory"    => array("users"),
+          "plRequirements"=> array(
+              'ldapSchema' => array('PureFTPdUser' => ''),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
           "plOptions"       => array(),
 
           "plProvidedAcls"  => array(