Use object by reference in save() - so we can get new object's uid
This commit is contained in:
parent
d33af1fac5
commit
b5514e900a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue