[CalendarServer-changes] [13335] CalendarServer/trunk/txdav/who/groups.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 18 14:38:52 PDT 2014


Revision: 13335
          http://trac.calendarserver.org//changeset/13335
Author:   gaya at apple.com
Date:     2014-04-18 14:38:52 -0700 (Fri, 18 Apr 2014)
Log Message:
-----------
remove all GroupAttendeeReconciliationWork items so that CalendarObject.reconcileGroupAttendees() is only called once per event instead of once per group per event

Modified Paths:
--------------
    CalendarServer/trunk/txdav/who/groups.py

Modified: CalendarServer/trunk/txdav/who/groups.py
===================================================================
--- CalendarServer/trunk/txdav/who/groups.py	2014-04-18 21:34:01 UTC (rev 13334)
+++ CalendarServer/trunk/txdav/who/groups.py	2014-04-18 21:38:52 UTC (rev 13335)
@@ -167,12 +167,10 @@
     @inlineCallbacks
     def doWork(self):
 
-        # Delete all other work items for this group
+        # Delete all other work items for this event
         yield Delete(
             From=self.table,
-            Where=((self.table.GROUP_ID == self.groupID).And(
-                self.table.RESOURCE_ID == self.resourceID)
-            )
+            Where=self.table.RESOURCE_ID == self.resourceID,
         ).on(self.transaction)
 
         # get db object
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140418/61655009/attachment.html>


More information about the calendarserver-changes mailing list