plugins/calendar
Thomas Brüderli
bruederli at kolabsys.com
Tue Sep 9 10:44:03 CEST 2014
plugins/calendar/drivers/kolab/kolab_user_calendar.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c88126ad68b509bf027f0c88ed2f0d7de2f212ea
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Tue Sep 9 10:43:53 2014 +0200
Check activation state of user calendars not subscription
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;
More information about the commits
mailing list