summaryrefslogtreecommitdiff
path: root/plugins/libkolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-02 11:32:40 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-03 14:57:49 (GMT)
commit03dd4b60b3ed9581aba811589d795bd7fd58dc7d (patch)
tree5621c443ca2d1d9a875709a2fb8027b2fde60328 /plugins/libkolab
parent724ecc44bfac3874ccccda5178f73313db7abae9 (diff)
downloadroundcubemail-plugins-kolab-03dd4b60b3ed9581aba811589d795bd7fd58dc7d.tar.gz
Exclude cancelled events from count query on invitations calendar
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/lib/kolab_format_xcal.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/libkolab/lib/kolab_format_xcal.php b/plugins/libkolab/lib/kolab_format_xcal.php
index 605d557..8c63b26 100644
--- a/plugins/libkolab/lib/kolab_format_xcal.php
+++ b/plugins/libkolab/lib/kolab_format_xcal.php
@@ -635,6 +635,10 @@ abstract class kolab_format_xcal extends kolab_format
}
}
+ if (!empty($object['status'])) {
+ $tags[] = 'x-status:' . strtolower($object['status']);
+ }
+
return array_unique($tags);
}