Remove hub username integration

This commit is contained in:
Neil Lalonde
2014-07-16 12:25:24 -04:00
parent 01a68f8cc7
commit 939e8505a9
19 changed files with 77 additions and 676 deletions

View File

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