mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:02:46 +08:00
Fix topic_count in version check request
This commit is contained in:
parent
7a3a10f29f
commit
e864e4141d
|
@ -45,7 +45,7 @@ module DiscourseHub
|
|||
forum_title: SiteSetting.title,
|
||||
forum_domain: Discourse.current_hostname,
|
||||
contact_email: SiteSetting.contact_email,
|
||||
topic_count: Topic.count
|
||||
topic_count: Topic.listable_topics.count
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user