mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-22 21:38:11 -05:00
Reject fraudulent ads automatically
This commit is contained in:
@@ -504,6 +504,7 @@ def review_fraud(link, is_fraud):
|
||||
queries.unset_payment_flagged_link(link)
|
||||
|
||||
if is_fraud:
|
||||
reject_promotion(link, "fraud")
|
||||
hooks.get_hook("promote.fraud_identified").call(link=link, sponsor=c.user)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user