mirror of https://github.com/zulip/zulip.git
Comment on how filter_by_subscriptions is dead.
(imported from commit c13b2ed003d78408b7c4f51ef5080658c2b4bcc7)
This commit is contained in:
parent
f39c203d2c
commit
b6203e7240
|
@ -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 = []
|
||||||
|
|
Loading…
Reference in New Issue