Add missing mod action category

This commit is contained in:
BrokenEagle
2018-01-29 17:42:15 -08:00
parent f83480cc8a
commit 92f7bb46a2

View File

@@ -47,7 +47,7 @@ class UserNameChangeRequest < ApplicationRecord
body = "Your name change request has been approved. Be sure to log in with your new user name."
Dmail.create_automated(:title => "Name change request approved", :body => body, :to_id => user_id)
UserFeedback.create(:user_id => user_id, :category => "neutral", :body => "Name changed from #{original_name} to #{desired_name}")
ModAction.log("Name changed from #{original_name} to #{desired_name}")
ModAction.log("Name changed from #{original_name} to #{desired_name}",:user_name_change)
end
def reject!(reason)