mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
@@ -37,7 +37,7 @@ class AdminDashboardData
|
||||
send_consumer_email_check,
|
||||
title_check,
|
||||
access_password_removal,
|
||||
system_username_check,
|
||||
site_contact_username_check,
|
||||
notification_email_check ].compact
|
||||
end
|
||||
|
||||
@@ -148,8 +148,8 @@ class AdminDashboardData
|
||||
I18n.t('dashboard.consumer_email_warning') if Rails.env == 'production' and ActionMailer::Base.smtp_settings[:address] =~ /gmail\.com|live\.com|yahoo\.com/
|
||||
end
|
||||
|
||||
def system_username_check
|
||||
I18n.t('dashboard.system_username_warning') if SiteSetting.system_username.blank?
|
||||
def site_contact_username_check
|
||||
I18n.t('dashboard.site_contact_username_warning') if SiteSetting.site_contact_username.blank?
|
||||
end
|
||||
|
||||
def notification_email_check
|
||||
|
||||
Reference in New Issue
Block a user