mirror of https://github.com/zulip/zulip.git
bulk_add_subscriptions: Remove incorrect comment.
This comment was only ever accurate for prototype versions of bulk_add_subscriptions prior to it being committed to master. (imported from commit 89b9dc49423c45553cb6c810d97eea4583ff0f69)
This commit is contained in:
parent
c6916faca2
commit
738793a962
|
@ -570,8 +570,6 @@ def notify_new_subscription(user_profile, stream, subscription, no_log=False):
|
|||
users=[user_profile.id])
|
||||
tornado_callbacks.send_notification(notice)
|
||||
|
||||
# This function assumes that the users are known to not be subscribers
|
||||
# of the stream (e.g. because the stream was created by this same query)
|
||||
def bulk_add_subscriptions(stream, users):
|
||||
recipient = get_recipient(Recipient.STREAM, stream.id)
|
||||
all_subs = Subscription.objects.filter(user_profile__in=users,
|
||||
|
|
Loading…
Reference in New Issue