mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 20:45:35 +08:00
Remove hub username integration
This commit is contained in:
@ -43,8 +43,7 @@ class AdminDashboardData
|
||||
site_description_check,
|
||||
access_password_removal,
|
||||
site_contact_username_check,
|
||||
notification_email_check,
|
||||
enforce_global_nicknames_check
|
||||
notification_email_check
|
||||
].compact
|
||||
end
|
||||
|
||||
@ -186,10 +185,6 @@ class AdminDashboardData
|
||||
I18n.t('dashboard.ruby_version_warning') if RUBY_VERSION == '2.0.0' and RUBY_PATCHLEVEL < 247
|
||||
end
|
||||
|
||||
def enforce_global_nicknames_check
|
||||
I18n.t('dashboard.enforce_global_nicknames_warning') if SiteSetting.enforce_global_nicknames and !SiteSetting.discourse_org_access_key.present?
|
||||
end
|
||||
|
||||
# TODO: generalize this method of putting i18n keys with expiry in redis
|
||||
# that should be reported on the admin dashboard:
|
||||
def access_password_removal
|
||||
|
Reference in New Issue
Block a user