diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-07-27 13:12:35 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-07-27 13:12:35 +0000 |
commit | ed81ee9ba2b5a0b68996ccb238bfa4c69a6df062 (patch) | |
tree | 831e186cd5ed4072a0883c4eac563cbcd9c70f23 /app/controllers/instance_statistics/cohorts_controller.rb | |
parent | 636ea40e182fca92e89facbcb52445fcefef9506 (diff) | |
download | gitlab-ce-ed81ee9ba2b5a0b68996ccb238bfa4c69a6df062.tar.gz |
Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' into 'master'"
This reverts merge request !20679
Diffstat (limited to 'app/controllers/instance_statistics/cohorts_controller.rb')
-rw-r--r-- | app/controllers/instance_statistics/cohorts_controller.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/instance_statistics/cohorts_controller.rb b/app/controllers/instance_statistics/cohorts_controller.rb deleted file mode 100644 index 7eba0a5ecdd..00000000000 --- a/app/controllers/instance_statistics/cohorts_controller.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -class InstanceStatistics::CohortsController < InstanceStatistics::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 |