mirror of
https://github.com/discourse/discourse.git
synced 2025-04-15 19:50:56 +08:00
DEV: private means nothing for class methods
This commit is contained in:
parent
f5cc28d740
commit
deb79a8fff
@ -18,8 +18,6 @@ module DiscourseHub
|
|||||||
$redis.set STATS_FETCHED_AT_KEY, time_with_zone.to_i
|
$redis.set STATS_FETCHED_AT_KEY, time_with_zone.to_i
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
def self.get_payload
|
def self.get_payload
|
||||||
SiteSetting.share_anonymized_statistics && stats_fetched_at < 7.days.ago ? About.fetch_cached_stats.symbolize_keys : {}
|
SiteSetting.share_anonymized_statistics && stats_fetched_at < 7.days.ago ? About.fetch_cached_stats.symbolize_keys : {}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user