[Tickets #6376] cancelled events should not be shown as busys periods in freebusy view

bugs at horde.org bugs at horde.org
Wed Mar 5 15:24:40 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6376
-----------------------------------------------------------------------
 Ticket             | 6376
 Created By         | m.gabriel at das-netzwerkteam.de
 Summary            | cancelled events should not be shown as busys periods in freebusy view
 Queue              | Kronolith
 Version            | 2.2-RC2
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | kronolith-freebusy.patch
-----------------------------------------------------------------------


m.gabriel at das-netzwerkteam.de (2008-03-05 10:24) wrote:

--- a/kronolith/lib/FreeBusy.php        2007-11-29 12:33:10.000000000
+0000
+++ b/kronolith/lib/FreeBusy.php        2008-03-05 14:58:42.000000000
+0000
@@ -104,6 +104,9 @@
                 if ($event->hasStatus(KRONOLITH_STATUS_FREE)) {
                     continue;
                 }
+                if ($event->hasStatus(KRONOLITH_STATUS_CANCELLED)) {
+                    continue;
+                }

                 $duration = $event->end->timestamp() -
$event->start->timestamp();





More information about the bugs mailing list