From 11bcaab808c6d40b5d660cd0cf5b4e5d28e070c5 Mon Sep 17 00:00:00 2001 From: Tom Johnson Date: Mon, 23 Sep 2019 09:42:44 -0700 Subject: [PATCH] Remove the no-op analytics flipper Since the analytics redesign has fizzled, and this flipper has no function, let's remove it prior to 3.0.0. --- app/controllers/hyrax/stats_controller.rb | 3 --- config/features.rb | 4 ---- 2 files changed, 7 deletions(-) diff --git a/app/controllers/hyrax/stats_controller.rb b/app/controllers/hyrax/stats_controller.rb index 7f3348cf05..11d4d1c371 100644 --- a/app/controllers/hyrax/stats_controller.rb +++ b/app/controllers/hyrax/stats_controller.rb @@ -5,9 +5,6 @@ class StatsController < ApplicationController before_action :build_breadcrumbs, only: [:work, :file] - # TODO: New reporting features FlipFlop pattern: - # Flipflop.enabled?(:analytics_redesign) - def work @stats = Hyrax::WorkUsage.new(params[:id]) end diff --git a/config/features.rb b/config/features.rb index b0cee86286..0f1292068f 100644 --- a/config/features.rb +++ b/config/features.rb @@ -31,10 +31,6 @@ default: true, description: "Enable uploading batches of works" - feature :analytics_redesign, - default: false, - description: "Display new reporting features. *Very Experimental*" - feature :hide_private_items, default: false, description: "Do not show the private items."