Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Remove trials from modqueue.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 committed Mar 30, 2012
1 parent bcd39e1 commit 27f6d93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions r2/r2/lib/db/queries.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -420,15 +420,13 @@ def get_modqueue(sr):
results = [] results = []
if isinstance(sr, ModContribSR): if isinstance(sr, ModContribSR):
srs = Subreddit._byID(sr.sr_ids, return_dict=False) srs = Subreddit._byID(sr.sr_ids, return_dict=False)
results.append(get_trials_links(srs))


for sr in srs: for sr in srs:
results.append(get_reported_links(sr)) results.append(get_reported_links(sr))
results.append(get_reported_comments(sr)) results.append(get_reported_comments(sr))
results.append(get_spam_filtered_links(sr)) results.append(get_spam_filtered_links(sr))
results.append(get_spam_filtered_comments(sr)) results.append(get_spam_filtered_comments(sr))
else: else:
results.append(get_trials_links(sr))
results.append(get_reported_links(sr)) results.append(get_reported_links(sr))
results.append(get_reported_comments(sr)) results.append(get_reported_comments(sr))
results.append(get_spam_filtered_links(sr)) results.append(get_spam_filtered_links(sr))
Expand Down

0 comments on commit 27f6d93

Please sign in to comment.