[CalendarServer-changes] [4415] CalendarServer/trunk/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 2 11:57:50 PDT 2009


Revision: 4415
          http://trac.macosforge.org/projects/calendarserver/changeset/4415
Author:   wsanchez at apple.com
Date:     2009-07-02 11:57:50 -0700 (Thu, 02 Jul 2009)
Log Message:
-----------
Remove references to schedule-state property

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/caldavxml.py
    CalendarServer/trunk/twistedcaldav/scheduling/caldav.py

Modified: CalendarServer/trunk/twistedcaldav/caldavxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/caldavxml.py	2009-07-02 18:50:31 UTC (rev 4414)
+++ CalendarServer/trunk/twistedcaldav/caldavxml.py	2009-07-02 18:57:50 UTC (rev 4415)
@@ -1803,19 +1803,6 @@
     """
     name = "schedule-send"
     
-class ScheduleState (CalDAVElement):
-    """
-    Indicates whether a scheduling message in an inbox has been processed
-    by the server.
-    """
-    name = "schedule-state"
-    protected = True
-
-    allowed_children = {
-        (caldav_namespace,     "schedule-processed"   ): (0, 1),
-        (caldav_namespace,     "schedule-unprocessed" ): (0, 1),
-    }
-
 class ScheduleProcessed (CalDAVEmptyElement):
     """
     Indicates that a scheduling message in an inbox has been processed

Modified: CalendarServer/trunk/twistedcaldav/scheduling/caldav.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/caldav.py	2009-07-02 18:50:31 UTC (rev 4414)
+++ CalendarServer/trunk/twistedcaldav/scheduling/caldav.py	2009-07-02 18:57:50 UTC (rev 4415)
@@ -181,9 +181,6 @@
                 # Store CALDAV:recipient property
                 child.writeDeadProperty(caldavxml.Recipient(davxml.HRef(recipient.cuaddr)))
             
-                # Store CALDAV:schedule-state property
-                child.writeDeadProperty(caldavxml.ScheduleState(caldavxml.ScheduleProcessed() if processed else caldavxml.ScheduleUnprocessed()))
-            
                 # Store CS:schedule-changes property if present
                 if changes:
                     child.writeDeadProperty(changes)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090702/2d391b38/attachment.html>


More information about the calendarserver-changes mailing list