Fix the attributes of the person class.
authorGunnar Wrobel <p@rdus.de>
Wed, 8 Apr 2009 16:53:37 +0000 (18:53 +0200)
committerGunnar Wrobel <p@rdus.de>
Wed, 8 Apr 2009 16:54:20 +0000 (18:54 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Person.php

index c2e542f..8b25e46 100644 (file)
  */
 class Horde_Kolab_Server_Object_Person extends Horde_Kolab_Server_Object
 {
+    /** Define attributes specific to this object type */
 
+    /** The common name */
     const ATTRIBUTE_CN           = 'cn';
+
+    /** The surname */
     const ATTRIBUTE_SN           = 'sn';
+
+    /** A surname suffix */
     const ATTRIBUTE_SNSUFFIX     = 'snsuffix';
+
+    /** A password for this person */
     const ATTRIBUTE_USERPASSWORD = 'userPassword';
+
+    /** A telephone number for this person */
     const ATTRIBUTE_TELNO        = 'telephoneNumber';
 
+    /** The specific object class of this object type */
     const OBJECTCLASS_PERSON     = 'person';
 
     /**
@@ -64,7 +75,6 @@ class Horde_Kolab_Server_Object_Person extends Horde_Kolab_Server_Object
         'required' => array(
             self::ATTRIBUTE_CN,
             self::ATTRIBUTE_SN,
-            self::ATTRIBUTE_USERPASSWORD,
         ),
         'object_classes' => array(
             self::OBJECTCLASS_PERSON