Remove 'Username change' note, because that is already handled by pep.py

This commit is contained in:
Morgan Bazalgette 2018-03-06 21:26:23 +01:00
parent b35dd9aebf
commit 5ed6601359
No known key found for this signature in database
GPG Key ID: 40D328300D245DA5

View File

@ -118,7 +118,6 @@ func UserEditPOST(md common.MethodData) common.CodeMessager {
NewUsername string `json:"newUsername"` NewUsername string `json:"newUsername"`
}{data.ID, *data.Username}) }{data.ID, *data.Username})
md.R.Publish("peppy:change_username", string(jsonData)) md.R.Publish("peppy:change_username", string(jsonData))
appendToUserNotes(md, "Username change: "+prevUser.Username+" -> "+*data.Username, data.ID)
} }
if data.UsernameAKA != nil { if data.UsernameAKA != nil {
statsQ += "username_aka = ?,\n" statsQ += "username_aka = ?,\n"