From ed1b0ed0f1650f2815828b0831a109857ed730b1 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 27 May 2013 16:30:06 -0400 Subject: [PATCH] Send user_count and a better url for your forum with the version check request --- lib/discourse_hub.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/discourse_hub.rb b/lib/discourse_hub.rb index 04af44a6b58..7bad71c4f19 100644 --- a/lib/discourse_hub.rb +++ b/lib/discourse_hub.rb @@ -43,9 +43,10 @@ module DiscourseHub get('/version_check', { installed_version: Discourse::VERSION::STRING, forum_title: SiteSetting.title, - forum_domain: Discourse.current_hostname, + forum_url: Discourse.base_url, contact_email: SiteSetting.contact_email, - topic_count: Topic.listable_topics.count + topic_count: Topic.listable_topics.count, + user_count: User.count }) end