From 43b9b3cdab4cc4bf2a9d279b44845e716f3b8ca0 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 7 Apr 2016 08:18:23 -0400 Subject: [PATCH] Skip partstat filter when kolab_invitation_calendars=false (T1179) --- plugins/calendar/drivers/kolab/kolab_calendar.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/calendar/drivers/kolab/kolab_calendar.php b/plugins/calendar/drivers/kolab/kolab_calendar.php index 9043b4a9..ef54a86c 100644 --- a/plugins/calendar/drivers/kolab/kolab_calendar.php +++ b/plugins/calendar/drivers/kolab/kolab_calendar.php @@ -289,7 +289,9 @@ class kolab_calendar extends kolab_storage_folder_api } // set partstat filter to skip pending and declined invitations - if (empty($filter_query) && $this->get_namespace() != 'other') { + if (empty($filter_query) && $this->cal->rc->config->get('kolab_invitation_calendars') + && $this->get_namespace() != 'other' + ) { $partstat_exclude = array('NEEDS-ACTION','DECLINED'); } else {