mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 14:27:58 -05:00
Run queries.ban on all spam things so spam_filtered will update.
This commit is contained in:
@@ -78,7 +78,7 @@ class AdminTools(object):
|
||||
self.set_last_sr_ban(new_things)
|
||||
queries.mark_moderated(things)
|
||||
|
||||
queries.ban(new_things)
|
||||
queries.ban(all_things)
|
||||
|
||||
def unspam(self, things, unbanner=None, train_spam=True, insert=True):
|
||||
from r2.lib.db import queries
|
||||
|
||||
Reference in New Issue
Block a user