2
0
Fork 0
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:
Sam 2013-09-06 17:28:37 +10:00
parent 41a1b6942d
commit 2ce4468aa5
27 changed files with 56 additions and 49 deletions

View file

@ -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,