From c93755cff2071b70e691f8a4d4e4869c117ce7ca Mon Sep 17 00:00:00 2001 From: robcolbert Date: Wed, 3 Jul 2019 15:49:58 -0400 Subject: [PATCH] remove weekly logins report from activity controller --- app/controllers/api/v1/instances/activity_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/v1/instances/activity_controller.rb b/app/controllers/api/v1/instances/activity_controller.rb index 09edfe36..9ecf6338 100644 --- a/app/controllers/api/v1/instances/activity_controller.rb +++ b/app/controllers/api/v1/instances/activity_controller.rb @@ -23,7 +23,8 @@ class Api::V1::Instances::ActivityController < Api::BaseController weeks << { week: week.to_time.to_i.to_s, statuses: Redis.current.get("activity:statuses:local:#{week_id}") || '0', - logins: Redis.current.pfcount("activity:logins:#{week_id}").to_s, + #(Rjc) 2019-07-02: Make this an instance option in Admin panel + # logins: 0, # Redis.current.pfcount("activity:logins:#{week_id}").to_s, registrations: Redis.current.get("activity:accounts:local:#{week_id}") || '0', } end