DEV: private means nothing for class methods

This commit is contained in:
Sam 2017-11-01 16:43:19 +11:00
parent f5cc28d740
commit deb79a8fff
1 changed files with 0 additions and 2 deletions

View File

@ -18,8 +18,6 @@ module DiscourseHub
$redis.set STATS_FETCHED_AT_KEY, time_with_zone.to_i
end
private
def self.get_payload
SiteSetting.share_anonymized_statistics && stats_fetched_at < 7.days.ago ? About.fetch_cached_stats.symbolize_keys : {}
end