Fixed the Kolab User attributes.
authorGunnar Wrobel <p@rdus.de>
Wed, 8 Apr 2009 16:52:25 +0000 (18:52 +0200)
committerGunnar Wrobel <p@rdus.de>
Wed, 8 Apr 2009 16:54:19 +0000 (18:54 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolab/User.php

index a48829a..f46d0d1 100644 (file)
@@ -34,6 +34,9 @@ class Horde_Kolab_Server_Object_Kolab_User extends Horde_Kolab_Server_Object_Kol
     /** The user type */
     const ATTRIBUTE_USERTYPE = 'usertype';
 
+    /** The first name */
+    const ATTRIBUTE_FN = 'fn';
+
     /** Define the possible Kolab user types */
     const USERTYPE_STANDARD = 0;
     const USERTYPE_INTERNAL = 1;
@@ -48,12 +51,10 @@ class Horde_Kolab_Server_Object_Kolab_User extends Horde_Kolab_Server_Object_Kol
     static public $init_attributes = array(
         'derived' => array(
             self::ATTRIBUTE_USERTYPE => array(),
+            self::ATTRIBUTE_FN => array(),
         ),
-        'defaults' => array(
-        ),
-        'locked' => array(
-        ),
-        'object_classes' => array(
+        'required' => array(
+            self::ATTRIBUTE_USERPASSWORD,
         ),
     );