mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 06:18:08 -05:00
Mis-merged to opensource
This commit is contained in:
@@ -867,6 +867,7 @@ class ApiController(RedditController):
|
||||
if c.user._spam or c.user.ignorereports:
|
||||
return
|
||||
Report.new(c.user, thing)
|
||||
admintools.report(thing)
|
||||
|
||||
@noresponse(VUser(), VModhash(),
|
||||
thing=VByName('id'))
|
||||
|
||||
@@ -112,7 +112,6 @@ class AdminTools(object):
|
||||
self.author_spammer(things, False)
|
||||
self.set_last_sr_ban(things)
|
||||
queries.unban(things, insert)
|
||||
queries.mark_moderated(things)
|
||||
|
||||
def report(self, thing):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user