Fix deleting configuration objects

This commit is contained in:
Aleksander Machniak 2014-08-12 05:46:14 -04:00
parent 98792c5755
commit 34f0891fea

View file

@ -187,8 +187,7 @@ class kolab_storage_config
} }
// fetch the object to find folder // fetch the object to find folder
$list = $this->get_object($uid); $object = $this->get_object($uid);
$object = $list[0];
if (!$object) { if (!$object) {
return false; return false;