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>2023-11-06 18:07:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-06 18:07:37 +0300
commit31e17bdaabfc530fa0358f4a86800865011a0b23 (patch)
tree5e8da12639723772316db3db2e6e34edff20334f /lib/gitlab
parenta661ba47633234590e88004462212e63cc1f658d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/quick_actions/merge_request_actions.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/quick_actions/merge_request_actions.rb b/lib/gitlab/quick_actions/merge_request_actions.rb
index 9798b0eca2c..c8dacc5ddd8 100644
--- a/lib/gitlab/quick_actions/merge_request_actions.rb
+++ b/lib/gitlab/quick_actions/merge_request_actions.rb
@@ -197,6 +197,10 @@ module Gitlab
next unless success
+ ::MergeRequests::UpdateReviewerStateService
+ .new(project: quick_action_target.project, current_user: current_user)
+ .execute(quick_action_target, "unreviewed")
+
@execution_message[:unapprove] = _('Unapproved the current merge request.')
end