Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a46c48b9
Commit
a46c48b9
authored
Jun 03, 2020
by
Alexandru Croitor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable storing mentioned users to respective DB tables
parent
4b362f65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/models/concerns/mentionable.rb
app/models/concerns/mentionable.rb
+2
-2
No files found.
app/models/concerns/mentionable.rb
View file @
a46c48b9
...
@@ -259,8 +259,8 @@ module Mentionable
...
@@ -259,8 +259,8 @@ module Mentionable
# for the test period.
# for the test period.
# During the test period the flag should be enabled at the group level.
# During the test period the flag should be enabled at the group level.
def
store_mentioned_users_to_db_enabled?
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
.
project
&
.
group
,
default_enabled:
true
)
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
.
group
,
default_enabled:
true
)
if
self
.
respond_to?
(
:group
)
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment