summaryrefslogtreecommitdiff
path: root/app/controllers/projects/settings
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-12-13 17:52:38 +0000
committerNick Thomas <nick@gitlab.com>2018-12-15 13:50:59 +0000
commite8a675d35f02c6bca9d0e3c8cc116ccd240fa4f6 (patch)
treecabfec3659295e1cf66b50dfab4e1637c8a1a00b /app/controllers/projects/settings
parent0b74b863679a8f55642973eddf25f9e58183d984 (diff)
downloadgitlab-ce-e8a675d35f02c6bca9d0e3c8cc116ccd240fa4f6.tar.gz
Remove the project_cleanup feature flag
Diffstat (limited to 'app/controllers/projects/settings')
-rw-r--r--app/controllers/projects/settings/repository_controller.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/projects/settings/repository_controller.rb b/app/controllers/projects/settings/repository_controller.rb
index 30724de7f6a..ac3004d069f 100644
--- a/app/controllers/projects/settings/repository_controller.rb
+++ b/app/controllers/projects/settings/repository_controller.rb
@@ -5,7 +5,6 @@ module Projects
class RepositoryController < Projects::ApplicationController
before_action :authorize_admin_project!
before_action :remote_mirror, only: [:show]
- before_action :check_cleanup_feature_flag!, only: :cleanup
def show
render_show
@@ -37,10 +36,6 @@ module Projects
private
- def check_cleanup_feature_flag!
- render_404 unless ::Feature.enabled?(:project_cleanup, project)
- end
-
def render_show
@deploy_keys = DeployKeysPresenter.new(@project, current_user: current_user)
@deploy_tokens = @project.deploy_tokens.active