summaryrefslogtreecommitdiff
path: root/app/controllers/admin/cohorts_controller.rb
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-07-18 01:37:58 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2018-07-26 19:00:09 +0200
commitf8f2d0f9e18a76324d85ae319a3bb8585ed107d5 (patch)
treed7d70e058aa007923401791747a9efc45a52083c /app/controllers/admin/cohorts_controller.rb
parent8e675082374eefdcb7ae6a004fcf2b16d3c68201 (diff)
downloadgitlab-ce-f8f2d0f9e18a76324d85ae319a3bb8585ed107d5.tar.gz
Create instance_statistics namespace and move convdev index and cohorts to it
Diffstat (limited to 'app/controllers/admin/cohorts_controller.rb')
-rw-r--r--app/controllers/admin/cohorts_controller.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/controllers/admin/cohorts_controller.rb b/app/controllers/admin/cohorts_controller.rb
deleted file mode 100644
index 10d9d1b5345..00000000000
--- a/app/controllers/admin/cohorts_controller.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class Admin::CohortsController < Admin::ApplicationController
- def index
- if Gitlab::CurrentSettings.usage_ping_enabled
- cohorts_results = Rails.cache.fetch('cohorts', expires_in: 1.day) do
- CohortsService.new.execute
- end
-
- @cohorts = CohortsSerializer.new.represent(cohorts_results)
- end
- end
-end