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>2021-10-05 18:12:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-05 18:12:53 +0300
commita84626f13d61d190b2db5e44caf71b22fc541276 (patch)
tree5cf591ce134ac0ad5b8c101e3518b2e49101b6ad /app/models/note.rb
parentc9b0dfef1ba43a9e04264023b08c589bcb9eb397 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 2defa1d1ca5..37473518892 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -355,8 +355,6 @@ class Note < ApplicationRecord
end
def noteable_author?(noteable)
- return false unless ::Feature.enabled?(:show_author_on_note, project)
-
noteable.author == self.author
end