Send forum title and hostname along with version check

This commit is contained in:
Neil Lalonde 2013-03-01 16:01:36 -05:00
parent 3901ddd153
commit 5c986be753
1 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,11 @@ module DiscourseHub
def self.discourse_version_check def self.discourse_version_check
get('/version_check', {installed_version: Discourse::VERSION::STRING}) get('/version_check', {
installed_version: Discourse::VERSION::STRING,
forum_title: SiteSetting.title,
forum_domain: Discourse.current_hostname
})
end end