[CalendarServer-changes] [9539] CalendarServer/branches/users/gaya/inviteclean/twistedcaldav/sharing .py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 7 17:41:22 PDT 2012
Revision: 9539
http://trac.macosforge.org/projects/calendarserver/changeset/9539
Author: gaya at apple.com
Date: 2012-08-07 17:41:22 -0700 (Tue, 07 Aug 2012)
Log Message:
-----------
Remove unused SharedHomeMixin.allShareNames()
Modified Paths:
--------------
CalendarServer/branches/users/gaya/inviteclean/twistedcaldav/sharing.py
Modified: CalendarServer/branches/users/gaya/inviteclean/twistedcaldav/sharing.py
===================================================================
--- CalendarServer/branches/users/gaya/inviteclean/twistedcaldav/sharing.py 2012-08-08 00:41:06 UTC (rev 9538)
+++ CalendarServer/branches/users/gaya/inviteclean/twistedcaldav/sharing.py 2012-08-08 00:41:22 UTC (rev 9539)
@@ -626,10 +626,11 @@
notifications = notificationResource._newStoreNotifications
# Look for existing notification
- oldnotification = (yield notifications.notificationObjectWithUID(invitation.uid()))
- if oldnotification:
+ # oldnotification is not used don't query for it
+ # oldnotification = (yield notifications.notificationObjectWithUID(invitation.uid()))
+ # if oldnotification:
# TODO: rollup changes?
- pass
+ # pass
# Generate invite XML
userid = "urn:uuid:" + invitation.shareeUID()
@@ -1122,13 +1123,7 @@
returnValue(self._allShares)
-
@inlineCallbacks
- def allShareNames(self):
- allShares = yield self.allShares()
- returnValue(tuple(allShares.keys()))
-
- @inlineCallbacks
def _shareForUID(self, shareUID, refresh=False):
allShares = yield self.allShares(refresh)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120807/c2fba5f3/attachment.html>
More information about the calendarserver-changes
mailing list