Remove 'Username change' note, because that is already handled by pep.py
This commit is contained in:
parent
b35dd9aebf
commit
5ed6601359
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user