Remove dead code in home view.

(imported from commit 5bc0d2d38de23828f19915c047e605e97b733b26)
This commit is contained in:
Tim Abbott 2012-09-07 13:10:00 -04:00
parent 14ab1a7044
commit ce2ad38cc2
1 changed files with 0 additions and 3 deletions

View File

@ -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"]