Comment on how filter_by_subscriptions is dead.

(imported from commit c13b2ed003d78408b7c4f51ef5080658c2b4bcc7)
This commit is contained in:
Tim Abbott 2012-09-07 13:54:42 -04:00
parent f39c203d2c
commit b6203e7240
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ def get_huddle(id_list):
s.save() s.save()
return huddle return huddle
# This is currently dead code since all the places where we used to
# use it now have faster implementations, but I expect this to be
# potentially useful for code in the future, so not deleting it yet.
def filter_by_subscriptions(zephyrs, user): def filter_by_subscriptions(zephyrs, user):
userprofile = UserProfile.objects.get(user=user) userprofile = UserProfile.objects.get(user=user)
subscribed_zephyrs = [] subscribed_zephyrs = []