Add 'all' column to admin dashboard counts

This commit is contained in:
Neil Lalonde
2013-03-21 13:27:53 -04:00
parent 38415f28da
commit 40962c84ca
17 changed files with 1346 additions and 1215 deletions

View File

@@ -9,7 +9,6 @@ class AdminDashboardData
def as_json
@json ||= {
reports: REPORTS.map { |type| Report.find(type) },
total_users: User.count,
problems: [rails_env_check, host_names_check, gc_checks].compact
}.merge(
SiteSetting.version_checks? ? {version_check: DiscourseUpdates.check_version} : {}