Skip partstat filter when kolab_invitation_calendars=false (T1179)
This commit is contained in:
parent
f73ccbaa8c
commit
43b9b3cdab
1 changed files with 3 additions and 1 deletions
|
@ -289,7 +289,9 @@ class kolab_calendar extends kolab_storage_folder_api
|
||||||
}
|
}
|
||||||
|
|
||||||
// set partstat filter to skip pending and declined invitations
|
// 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');
|
$partstat_exclude = array('NEEDS-ACTION','DECLINED');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue