mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:47:31 +08:00
Fix broken merge
This commit is contained in:
parent
56dcd00570
commit
68343c74c4
|
@ -50,7 +50,7 @@ class Promotion
|
|||
admin = opts && opts[:log_action_for]
|
||||
|
||||
@user.trust_level = new_level
|
||||
@user.bio_raw_will_change! # So it can get re-cooked based on the new trust level
|
||||
@user.user_profile.bio_raw_will_change! # So it can get re-cooked based on the new trust level
|
||||
|
||||
@user.transaction do
|
||||
if admin
|
||||
|
|
Loading…
Reference in New Issue
Block a user