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-03-31 06:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-31 06:09:00 +0300
commit89cd4b410196971a1259463e6d1121ba85d45a6f (patch)
treec49eece0b95cd465b2fbd46609027b3eeff02f80 /app/models/todo.rb
parent174560aed8a39694ebb6b7a2459d59dbc214c5a9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/todo.rb')
-rw-r--r--app/models/todo.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb
index 176d5e56fc0..6d6ee07cfaa 100644
--- a/app/models/todo.rb
+++ b/app/models/todo.rb
@@ -148,6 +148,10 @@ class Todo < ApplicationRecord
.order(Gitlab::Database.nulls_last_order('highest_priority', 'ASC'))
.order('todos.created_at')
end
+
+ def pluck_user_id
+ pluck(:user_id)
+ end
end
def resource_parent