Code

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

gosa-plugins/phpscheduleit/personal/connectivity/phpscheduleit/class_phpscheduleitAccount.inc

index 3d05d48fd72007b988edb4672edc9256b23511b7..9836a91705a02b67f590d3601ce97e68d912dc1e 100644 (file)
@@ -169,6 +169,10 @@ class phpscheduleitAccount extends plugin
           "plPriority"      => 29,                                 // Position in tabs
           "plSection"     => array("personal" => _("My account")),
           "plCategory"    => array("users"),
+          "plRequirements"=> array(
+              'ldapSchema' => array('phpscheduleitAccount' => ''),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
 
           "plOptions"       => array(),