From deb79a8fff7b8d8dec85fb3af5c22bab90b7f6ee Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 1 Nov 2017 16:43:19 +1100 Subject: [PATCH] DEV: private means nothing for class methods --- lib/discourse_hub.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/discourse_hub.rb b/lib/discourse_hub.rb index 3ed120aaa90..cf6df955eed 100644 --- a/lib/discourse_hub.rb +++ b/lib/discourse_hub.rb @@ -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