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:
Diffstat (limited to 'app/serializers/note_entity.rb')
-rw-r--r--app/serializers/note_entity.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/serializers/note_entity.rb b/app/serializers/note_entity.rb
index 6058c89d347..26dc748ad51 100644
--- a/app/serializers/note_entity.rb
+++ b/app/serializers/note_entity.rb
@@ -109,8 +109,6 @@ class NoteEntity < API::Entities::Note
end
def external_author
- return unless Feature.enabled?(:external_note_author_service_desk)
-
return unless object.note_metadata&.external_author
if can?(current_user, :read_external_emails, object.project)