From f15d106eb914c6ba6fd65c845b2ea57484522453 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Mon, 11 Aug 2014 12:41:56 -0700 Subject: [PATCH] remove all version stats --- config/locales/server.en.yml | 2 +- lib/discourse_hub.rb | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 4ad63a7de07..f718767691e 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -741,7 +741,7 @@ en: allow_index_in_robots_txt: "Specify in robots.txt that this site is allowed to be indexed by web search engines." email_domains_blacklist: "A list of email domains that users are not allowed to register accounts with. Example: mailinator.com trashmail.net" email_domains_whitelist: "A list of email domains that users MUST register accounts with. WARNING: Users with email domains other than those listed will not be allowed!" - version_checks: "Ping the Discourse Hub for version updates with basic anonymized stats and show version messages on the /admin dashboard" + version_checks: "Ping the Discourse Hub for version updates and show new version messages on the /admin dashboard" new_version_emails: "Send an email to the contact_email address when a new version of Discourse is available." port: "DEVELOPER ONLY! WARNING! Use this HTTP port rather than the default of port 80. Leave blank for default of 80." diff --git a/lib/discourse_hub.rb b/lib/discourse_hub.rb index e36768620d2..45b78f71fab 100644 --- a/lib/discourse_hub.rb +++ b/lib/discourse_hub.rb @@ -5,19 +5,7 @@ module DiscourseHub def self.version_check_payload { - installed_version: Discourse::VERSION::STRING, - forum_title: SiteSetting.title, - forum_description: SiteSetting.site_description, - forum_url: Discourse.base_url, - contact_email: SiteSetting.contact_email, - topic_count: Topic.listable_topics.count, - post_count: Post.count, - user_count: User.count, - topics_7_days: Topic.listable_topics.where('created_at > ?', 7.days.ago).count, - posts_7_days: Post.where('created_at > ?', 7.days.ago).count, - users_7_days: User.where('created_at > ?', 7.days.ago).count, - login_required: SiteSetting.login_required, - locale: SiteSetting.default_locale + installed_version: Discourse::VERSION::STRING } end