mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
remove trailing whitespaces ❤️
This commit is contained in:
parent
b50e0536c7
commit
cafc75b238
383 changed files with 4220 additions and 2221 deletions
|
@ -9,10 +9,10 @@ class SystemMessage
|
|||
end
|
||||
|
||||
def initialize(recipient)
|
||||
@recipient = recipient
|
||||
@recipient = recipient
|
||||
end
|
||||
|
||||
def create(type, params = {})
|
||||
def create(type, params = {})
|
||||
|
||||
defaults = {site_name: SiteSetting.title,
|
||||
username: @recipient.username,
|
||||
|
@ -26,7 +26,7 @@ class SystemMessage
|
|||
if SiteSetting.restrict_access?
|
||||
params[:site_password] = MultisiteI18n.t('system_messages.site_password', access_password: SiteSetting.access_password)
|
||||
end
|
||||
|
||||
|
||||
title = MultisiteI18n.t("system_messages.#{type}.subject_template", params)
|
||||
raw_body = MultisiteI18n.t("system_messages.#{type}.text_body_template", params)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue