Code

Backports from trunk
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Sep 2011 09:08:11 +0000 (09:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Sep 2011 09:08:11 +0000 (09:08 +0000)
-Fixed webdav plugin, the objectClass was misspelled

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@21005 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index b4f2007c9c7870814eba4c8c69b454e34d0b2647..bb102462b69324a6f6414c544d364abdb43d3cd4 100644 (file)
@@ -8,7 +8,7 @@ class webdavAccount extends plugin
 
   /* attribute list for save action */
   var $attributes= array();
-  var $objectclasses= array("gosaWebdavAccount");
+  var $objectclasses= array("gosaWebDAVAccount");
   var $ReadOnly = false;
   var $view_logged = FALSE;
   var $uid ="";
@@ -167,7 +167,7 @@ class webdavAccount extends plugin
           "plSelfModify"    => TRUE,
           "plDepends"       => array("user"),
           "plRequirements"=> array(
-              'ldapSchema' => array('gosaWebdavAccount' => '>=2.7'),
+              'ldapSchema' => array('gosaWebDAVAccount' => '>=2.7'),
               'onFailureDisablePlugin' => array(get_class())
               ),
           "plPriority"      => 23,                                 // Position in tabs
@@ -221,7 +221,7 @@ class webdavAccount extends plugin
   function init_multiple_support($attrs,$all)
   {
     plugin::init_multiple_support($attrs,$all);
-    if(isset($attrs['objectClass']) && in_array_strict("gosaWebdavAccount",$attrs['objectClass'])){
+    if(isset($attrs['objectClass']) && in_array_strict("gosaWebDAVAccount",$attrs['objectClass'])){
       $this->is_account = TRUE;
     }
   }