summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-04-09 11:54:04 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-04-09 11:54:04 (GMT)
commit2123ea7d97bb4cf464e8fcd4634a071489f21187 (patch)
tree3eedd8146e90da664e0f8dcdcbb6b8be4dbe2a29 /plugins/libcalendaring
parent9a9cf8fe8953f7b03ba22f2d6c68dad7f84166c8 (diff)
downloadroundcubemail-plugins-kolab-2123ea7d97bb4cf464e8fcd4634a071489f21187.tar.gz
Add property for event status; specially annotate CANCELLED events in the UI
Diffstat (limited to 'plugins/libcalendaring')
-rw-r--r--plugins/libcalendaring/libcalendaring.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php
index d33df67..edc0dde 100644
--- a/plugins/libcalendaring/libcalendaring.php
+++ b/plugins/libcalendaring/libcalendaring.php
@@ -400,7 +400,7 @@ class libcalendaring extends rcube_plugin
*/
public static function get_next_alarm($rec, $type = 'event')
{
- if (!$rec['alarms'])
+ if (!$rec['alarms'] || $rec['cancelled'] || $rec['status'] == 'CANCELLED')
return null;
if ($type == 'task') {