mirror of https://github.com/zulip/zulip.git
Remove dead code in home view.
(imported from commit 5bc0d2d38de23828f19915c047e605e97b733b26)
This commit is contained in:
parent
14ab1a7044
commit
ce2ad38cc2
|
@ -87,9 +87,6 @@ def home(request):
|
|||
UserProfile.objects.filter(realm=user_profile.realm) if
|
||||
profile != user_profile]
|
||||
|
||||
publics = filter_by_subscriptions(Zephyr.objects.filter(
|
||||
recipient__type="class").all(), request.user)
|
||||
|
||||
subscriptions = Subscription.objects.filter(userprofile_id=user_profile, active=True)
|
||||
classes = [get_display_recipient(sub.recipient) for sub in subscriptions
|
||||
if sub.recipient.type == "class"]
|
||||
|
|
Loading…
Reference in New Issue