summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-09-09 11:33:09 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-09-09 11:33:09 (GMT)
commitc103391e792e83bfbce8dfed4c578474a47e30be (patch)
treef19b2a75042d240dc9f7e15613f8e2fdfaeb5c42 /plugins/calendar/drivers
parent624f3b169566ffa0ce2a98b722c67307825669dd (diff)
downloadroundcubemail-plugins-kolab-c103391e792e83bfbce8dfed4c578474a47e30be.tar.gz
Don't allow to remove the default calendar
Diffstat (limited to 'plugins/calendar/drivers')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index e7fff66..6575a23 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -210,7 +210,7 @@ class kolab_driver extends calendar_driver
'children' => true, // TODO: determine if that folder indeed has child folders
'parent' => $parent_id,
'caldavurl' => $cal->get_caldav_url(),
- 'removable' => true,
+ 'removable' => !$cal->default,
);
}