Add missing function for Kolab_FreeBusy.
authorGunnar Wrobel <p@rdus.de>
Sat, 25 Apr 2009 19:40:57 +0000 (21:40 +0200)
committerGunnar Wrobel <p@rdus.de>
Sat, 25 Apr 2009 19:40:57 +0000 (21:40 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolab/User.php

index 8e1e47c..68aa858 100644 (file)
@@ -187,6 +187,17 @@ class Horde_Kolab_Server_Object_Kolab_User extends Horde_Kolab_Server_Object_Kol
     }
 
     /**
+     * Get the group mail addresses for this object
+     *
+     * @return mixed|PEAR_Error An array of group addresses, false if no groups were
+     *                          found.
+     */
+    function getGroupAddresses()
+    {
+        return $this->server->getGroupAddresses($this->uid);
+    }
+
+    /**
      * Returns the server url of the given type for this user.
      *
      * This method is used to encapsulate multidomain support.