From cced204b9e662f66d831fe49dc58b19597cabe7c Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Wed, 13 May 2009 09:05:39 +0200 Subject: [PATCH] Adapt to the new way of preparing object information before saving. --- .../lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php b/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php index acb55aa2c..27a25e9eb 100644 --- a/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php +++ b/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php @@ -106,7 +106,7 @@ class Horde_Kolab_Server_Object_Kolabgroupofnames extends Horde_Kolab_Server_Obj * * @return string|PEAR_Error The ID. */ - public function generateId($info) + public function generateId(&$info) { if ($this->exists()) { if (!isset($info[self::ATTRIBUTE_MAIL]) @@ -133,13 +133,15 @@ class Horde_Kolab_Server_Object_Kolabgroupofnames extends Horde_Kolab_Server_Obj } /** - * Saves object information. + * Distill the server side object information to save. * * @param array $info The information about the object. * - * @return boolean|PEAR_Error True on success. + * @return NULL. + * + * @throws Horde_Kolab_Server_Exception If the given information contains errors. */ - public function save($info = null) + public function prepareObjectInformation(&$info) { if (!$this->exists()) { if (!isset($info[self::ATTRIBUTE_CN])) { @@ -150,7 +152,6 @@ class Horde_Kolab_Server_Object_Kolabgroupofnames extends Horde_Kolab_Server_Obj } } } - return parent::save($info); } /** -- 2.11.0