From e8a675d35f02c6bca9d0e3c8cc116ccd240fa4f6 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Thu, 13 Dec 2018 17:52:38 +0000 Subject: Remove the project_cleanup feature flag --- app/controllers/projects/settings/repository_controller.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'app/controllers/projects/settings') 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 -- cgit v1.2.1