diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-04-03 10:00:18 +0800 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-04-03 10:00:18 +0800 |
commit | c17b7afa0298beb3290d46ad504f0f4dc4508d7a (patch) | |
tree | ba075043778ce9b090ecc4e58225aeb62766ec5e /app/models/individual_note_discussion.rb | |
parent | 645303c7e71d554c3ee1a338730d8b779c47acc1 (diff) | |
download | gitlab-ce-c17b7afa0298beb3290d46ad504f0f4dc4508d7a.tar.gz |
Remove reply_to_individual_notes feature flag58644-remove-reply_to_individual_notes-feature-flag
Also removes specs related to the flag
Diffstat (limited to 'app/models/individual_note_discussion.rb')
-rw-r--r-- | app/models/individual_note_discussion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/individual_note_discussion.rb b/app/models/individual_note_discussion.rb index 3b6b68a9c5f..d926e39f96e 100644 --- a/app/models/individual_note_discussion.rb +++ b/app/models/individual_note_discussion.rb @@ -14,7 +14,7 @@ class IndividualNoteDiscussion < Discussion end def can_convert_to_discussion? - noteable.supports_replying_to_individual_notes? && Feature.enabled?(:reply_to_individual_notes, default_enabled: true) + noteable.supports_replying_to_individual_notes? end def convert_to_discussion!(save: false) |