Don't auto-accept a link when created or edited by a sponsor.

This commit is contained in:
Brian Simpson
2013-12-05 04:14:53 -05:00
parent 2a05f17161
commit cc3949a3f5
2 changed files with 1 additions and 7 deletions

View File

@@ -485,8 +485,6 @@ class PromoteController(ListingController):
# only trips if the title and url are changed by a non-sponsor
if changed and not promote.is_unpaid(l):
promote.unapprove_promotion(l)
if trusted and promote.is_unapproved(l):
promote.accept_promotion(l)
# selftext can be changed at any time
if kind == 'self':

View File

@@ -286,11 +286,7 @@ def new_promotion(title, url, selftext, user, ip):
l._commit()
# set the status of the link, populating the query queue
if c.user_is_sponsor or user.trusted_sponsor:
update_promote_status(l, PROMOTE_STATUS.accepted)
else:
update_promote_status(l, PROMOTE_STATUS.unpaid)
update_promote_status(l, PROMOTE_STATUS.unpaid)
# the user has posted a promotion, so enable the promote menu unless
# they have already opted out