Use object by reference in save() - so we can get new object's uid

This commit is contained in:
Aleksander Machniak 2014-07-31 03:54:51 -04:00
parent d33af1fac5
commit b5514e900a

View file

@ -129,7 +129,7 @@ class kolab_storage_config
* *
* @return bool True on success, False on failure * @return bool True on success, False on failure
*/ */
public function save($object, $type) public function save(&$object, $type)
{ {
if (!$this->enabled) { if (!$this->enabled) {
return false; return false;