Mis-merged to opensource

This commit is contained in:
Keith Mitchell
2012-07-26 13:48:58 -07:00
parent d7ca88c2e5
commit a2f7a90ddc
2 changed files with 1 additions and 1 deletions

View File

@@ -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'))

View File

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