Skip to content
Browse files

fix for 2.4

  • Loading branch information...
1 parent 5f5e873 commit af157a2985f78a38134ebb8baed3bf8064b3af40 @brosner brosner committed Feb 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 agora/models.py
View
2 agora/models.py
@@ -346,7 +346,7 @@ def setup_onsite(cls):
for user in User.objects.all():
threads = ForumThread.objects.filter(author=user).values_list("pk", flat=True)
threads_by_replies = ForumReply.objects.filter(author=user).distinct().values_list("thread", flat=True)
- for thread in set().union(threads, threads_by_replies):
+ for thread in threads.union(threads_by_replies):
ForumThread.objects.get(pk=thread).subscribe(user, "onsite")

0 comments on commit af157a2

Please sign in to comment.
Something went wrong with that request. Please try again.