summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-11 00:09:09 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-11 00:09:09 +0000
commit47ebeef9122af96dc1fcd5c8e1ca0091f62fa113 (patch)
treef140bf150d6670b734e981851070e73c270fc45f /app/models/commit.rb
parent06bb4eba7828ce59fde366734828458c037059b4 (diff)
downloadgitlab-ce-47ebeef9122af96dc1fcd5c8e1ca0091f62fa113.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 8068c4a07a2..2b8e4aa8278 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -415,7 +415,7 @@ class Commit
end
def has_been_reverted?(current_user, notes_association = nil)
- ext = all_references(current_user)
+ ext = Gitlab::ReferenceExtractor.new(project, current_user)
notes_association ||= notes_with_associations
notes_association.system.each do |note|