Adapt to the new way of preparing object information before saving it.
authorGunnar Wrobel <p@rdus.de>
Wed, 13 May 2009 07:03:44 +0000 (09:03 +0200)
committerGunnar Wrobel <p@rdus.de>
Wed, 13 May 2009 07:03:44 +0000 (09:03 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolab/Domainmaintainer.php

index cbaa36e..6db3c08 100644 (file)
@@ -70,13 +70,15 @@ class Horde_Kolab_Server_Object_Kolab_Domainmaintainer extends Horde_Kolab_Serve
     }
 
     /**
-     * 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)
     {
         foreach ($info[self::ATTRIBUTE_DOMAIN] as $domain) {
             $domain_uid = sprintf('cn=%s,cn=domain,cn=internal,%s',
@@ -104,7 +106,7 @@ class Horde_Kolab_Server_Object_Kolab_Domainmaintainer extends Horde_Kolab_Serve
                 }
             }
         }
-        return parent::save($info);
+        parent::prepareObjectInformation(&$info);
     }
 
 }