Code

Added requirement dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:53:14 +0000 (07:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:53:14 +0000 (07:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18738 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/webdav/personal/connectivity/webdav/class_webdavAccount.inc

index fd5061708a9f4f38eff68fd2b8ed41f25ec72778..addc300f7eb3947884beba3acf8bd1f21f0897c7 100644 (file)
@@ -166,7 +166,10 @@ class webdavAccount extends plugin
           "plDescription"   => _("WebDAV account")."&nbsp;("._("Connectivity addon").")",
           "plSelfModify"    => TRUE,
           "plDepends"       => array("user"),
-          "plRequirements"=> array('ldapSchema' => array('gosaWebdavAccount' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('gosaWebdavAccount' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
           "plPriority"      => 23,                                 // Position in tabs
           "plSection"     => array("personal" => _("My account")),
           "plCategory"    => array("users"),