[Pkg-owncloud-commits] [php-sabredav] 231/275: Automatically remove SCHEDULE-FORCE-SEND from iCalendar objects.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:56:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit de7ff5b94831f024de0db6ffd29f87c754518fce
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Mon Sep 15 16:52:30 2014 +0100

    Automatically remove SCHEDULE-FORCE-SEND from iCalendar objects.
    
    This commit, along with all the vobject changes should Fix #492.
---
 lib/CalDAV/Schedule/Plugin.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php
index 62f3ccc..229dcb4 100644
--- a/lib/CalDAV/Schedule/Plugin.php
+++ b/lib/CalDAV/Schedule/Plugin.php
@@ -564,6 +564,7 @@ class Plugin extends ServerPlugin {
 
             if (isset($newObject->VEVENT->ORGANIZER) && ($newObject->VEVENT->ORGANIZER->getNormalizedValue() === $message->recipient)) {
                 $newObject->VEVENT->ORGANIZER['SCHEDULE-STATUS'] = $message->scheduleStatus;
+                unset($newObject->VEVENT->ORGANIZER['SCHEDULE-FORCE-SEND']);
 
             } else {
 
@@ -571,6 +572,7 @@ class Plugin extends ServerPlugin {
 
                     if ($attendee->getNormalizedValue() === $message->recipient) {
                         $attendee['SCHEDULE-STATUS'] = $message->scheduleStatus;
+                        unset($attendee['SCHEDULE-FORCE-SEND']);
                         break;
                     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list