summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-09-09 08:43:53 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-09-09 08:43:53 (GMT)
commitc88126ad68b509bf027f0c88ed2f0d7de2f212ea (patch)
tree5eeaae91ac1c5e329473704272dce2b8a9e8addf
parentefacdf4ea292e79b7ad7c81b5b272ee4ce99e386 (diff)
downloadroundcubemail-plugins-kolab-c88126ad68b509bf027f0c88ed2f0d7de2f212ea.tar.gz
Check activation state of user calendars not subscription
-rw-r--r--plugins/calendar/drivers/kolab/kolab_user_calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_user_calendar.php b/plugins/calendar/drivers/kolab/kolab_user_calendar.php
index 18b1ecc..2cb8962 100644
--- a/plugins/calendar/drivers/kolab/kolab_user_calendar.php
+++ b/plugins/calendar/drivers/kolab/kolab_user_calendar.php
@@ -211,7 +211,7 @@ class kolab_user_calendar extends kolab_calendar
// aggregate all calendar folders the user shares (but are not subscribed)
foreach (kolab_storage::list_user_folders($this->userdata, 'event', false) as $foldername) {
- if (!empty($_REQUEST['_quickview']) || !kolab_storage::folder_is_subscribed($foldername, true)) {
+ if (!empty($_REQUEST['_quickview']) || !kolab_storage::folder_is_active($foldername)) {
$cal = new kolab_calendar($foldername, $this->cal);
foreach ($cal->list_events($start, $end, $search, 1) as $event) {
$this->events[$event['id']] = $event;