mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
rename system_username to site_contact_username , system_user is a special user with -1 id that is only used for certain admin tasks
for example system_user will autoclose stuff if needed, it will delete stubs and be the target for flag pms
This commit is contained in:
parent
41a1b6942d
commit
2ce4468aa5
27 changed files with 56 additions and 49 deletions
|
@ -28,7 +28,7 @@ class SystemMessage
|
|||
title = I18n.t("system_messages.#{type}.subject_template", params)
|
||||
raw_body = I18n.t("system_messages.#{type}.text_body_template", params)
|
||||
|
||||
PostCreator.create(Discourse.system_user,
|
||||
PostCreator.create(Discourse.site_contact_user,
|
||||
raw: raw_body,
|
||||
title: title,
|
||||
archetype: Archetype.private_message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue