summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-08-12 09:46:14 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-08-12 09:46:14 (GMT)
commit34f0891feab4c93d8543957d4966382a17c8259a (patch)
treead0c4594cf1c5cb5f564662ecc7b65b19a6e3781
parent98792c5755206801b85f394e66f1d4dd689e488b (diff)
downloadroundcubemail-plugins-kolab-34f0891feab4c93d8543957d4966382a17c8259a.tar.gz
Fix deleting configuration objects
-rw-r--r--plugins/libkolab/lib/kolab_storage_config.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_config.php b/plugins/libkolab/lib/kolab_storage_config.php
index b759e1d..98a30ea 100644
--- a/plugins/libkolab/lib/kolab_storage_config.php
+++ b/plugins/libkolab/lib/kolab_storage_config.php
@@ -187,8 +187,7 @@ class kolab_storage_config
}
// fetch the object to find folder
- $list = $this->get_object($uid);
- $object = $list[0];
+ $object = $this->get_object($uid);
if (!$object) {
return false;