Fix #4540: Demotion sends "You have been promoted" dmail.

Change message to "Your account has been updated". It's possible for a
user to both gain and lose permissions at the same time, so just say
their account has been updated to make it easier.
This commit is contained in:
evazion
2020-07-13 18:42:44 -05:00
parent 0b52b1622f
commit 85f464df83
2 changed files with 2 additions and 6 deletions

View File

@@ -88,11 +88,7 @@ class UserPromotion
end
def create_dmail
Dmail.create_automated(
:to_id => user.id,
:title => "You have been promoted",
:body => build_messages
)
Dmail.create_automated(to_id: user.id, title: "Your account has been updated", body: build_messages)
end
def create_user_feedback