Skip to content

Commit

Permalink
Remove the no-op analytics flipper
Browse files Browse the repository at this point in the history
Since the analytics redesign has fizzled, and this flipper has no function,
let's remove it prior to 3.0.0.
  • Loading branch information
Tom Johnson authored and Tom Johnson committed Sep 23, 2019
1 parent 6ecb869 commit 11bcaab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions app/controllers/hyrax/stats_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions config/features.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 11bcaab

Please sign in to comment.