Code

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

gosa-plugins/phpgw/personal/connectivity/phpgw/class_phpgwAccount.inc

index b4fd138f197199ef05730a5006eef874785c4646..a85967f4bb45cfd39184e2d06d85eaeb90ea9e60 100644 (file)
@@ -165,6 +165,10 @@ class phpgwAccount extends plugin
           "plSection"     => array("personal" => _("My account")),
           "plCategory"    => array("users"),
           "plOptions"       => array(),
+          "plRequirements"=> array(
+              'ldapSchema' => array('phpgwAccount' => ''),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
 
           "plProvidedAcls"  => array()
           ));