mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Don't send an email if the ad was already rejected
This commit is contained in:
@@ -667,6 +667,9 @@ def review_fraud(link, is_fraud):
|
||||
|
||||
|
||||
def reject_promotion(link, reason=None, notify_why=True):
|
||||
if is_rejected(link):
|
||||
return
|
||||
|
||||
was_live = is_promoted(link)
|
||||
update_promote_status(link, PROMOTE_STATUS.rejected)
|
||||
if reason:
|
||||
|
||||
Reference in New Issue
Block a user