Commit 93107c59 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'enable-store-mentioned-users-to-db-ff-by-default' into 'master'

Enable storing mentioned users to respective DB tables

See merge request gitlab-org/gitlab!33711
parents 4b362f65 a46c48b9
......@@ -259,8 +259,8 @@ module Mentionable
# for the test period.
# During the test period the flag should be enabled at the group level.
def store_mentioned_users_to_db_enabled?
return Feature.enabled?(:store_mentioned_users_to_db, self.project&.group) if self.respond_to?(:project)
return Feature.enabled?(:store_mentioned_users_to_db, self.group) if self.respond_to?(:group)
return Feature.enabled?(:store_mentioned_users_to_db, self.project&.group, default_enabled: true) if self.respond_to?(:project)
return Feature.enabled?(:store_mentioned_users_to_db, self.group, default_enabled: true) if self.respond_to?(:group)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment