Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-10 15:09:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-10 15:09:43 +0300
commit3e06afc4cd1b75b3e957e8debf5e4f1963ba18e0 (patch)
tree24da37ec94b577201657e21c4071eaabcd69c193 /app/controllers/concerns/integrations_actions.rb
parentb2e3191074dc12ca0a29a8815db65da9275d7764 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/concerns/integrations_actions.rb')
-rw-r--r--app/controllers/concerns/integrations_actions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/integrations_actions.rb b/app/controllers/concerns/integrations_actions.rb
index f2861052e08..baebedb8e5d 100644
--- a/app/controllers/concerns/integrations_actions.rb
+++ b/app/controllers/concerns/integrations_actions.rb
@@ -43,6 +43,8 @@ module IntegrationsActions
end
def reset
+ integration.destroy!
+
flash[:notice] = s_('Integrations|This integration, and inheriting projects were reset.')
render json: {}, status: :ok