[CalendarServer-changes] [8132] CalendarServer/trunk/twistedcaldav/upgrade.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 28 15:52:12 PDT 2011
Revision: 8132
http://trac.macosforge.org/projects/calendarserver/changeset/8132
Author: sagen at apple.com
Date: 2011-09-28 15:52:10 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
Don't send push notifications when deleting migrated inbox items.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/upgrade.py
Modified: CalendarServer/trunk/twistedcaldav/upgrade.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/upgrade.py 2011-09-28 20:25:17 UTC (rev 8131)
+++ CalendarServer/trunk/twistedcaldav/upgrade.py 2011-09-28 22:52:10 UTC (rev 8132)
@@ -1058,8 +1058,11 @@
else:
log.warn("Removing invalid inbox item: %s" % (uri,))
+ #
# Remove item
+ #
txn = request._newStoreTransaction
+ txn._notifierFactory = None # Do not send push notifications
yield inboxItem.storeRemove(request, True, uri)
yield txn.commit()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110928/901daf0f/attachment.html>
More information about the calendarserver-changes
mailing list