summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-06-09 08:03:35 -0400
committerGitHub <noreply@github.com>2023-06-09 14:03:35 +0200
commit75e299f44013d8ad9f1e90992e6b07ddb63d37a5 (patch)
treef43d0e3c54e775801622941c96213ae1a380315e
parent4aff1d2974b47cfb0aedfc7be7c9b8fdd5f1b33a (diff)
Remove unused `redis_info` method Admin::Dashboard (#25345)
-rw-r--r--app/controllers/admin/dashboard_controller.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
index 099512248f4..3a6df662ea2 100644
--- a/app/controllers/admin/dashboard_controller.rb
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -14,15 +14,5 @@ module Admin
@pending_tags_count = Tag.pending_review.count
@pending_appeals_count = Appeal.pending.count
end
-
- private
-
- def redis_info
- @redis_info ||= if redis.is_a?(Redis::Namespace)
- redis.redis.info
- else
- redis.info
- end
- end
end
end