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>2020-04-22 03:09:24 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-22 03:09:24 +0300
commite3e139096eee0cce110d56744aa9431c8f801278 (patch)
treecec6a44abda1c8c3e114abc4955000a6e8faa2d0 /app/models/todo.rb
parent0c843254fcdfc9c25b0bca0130465ee2092515cd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/todo.rb')
-rw-r--r--app/models/todo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb
index d337ef33051..9d685fd73d3 100644
--- a/app/models/todo.rb
+++ b/app/models/todo.rb
@@ -110,7 +110,7 @@ class Todo < ApplicationRecord
base = where.not(state: new_state).except(:order)
ids = base.pluck(:id)
- base.update_all(state: new_state)
+ base.update_all(state: new_state, updated_at: Time.now)
ids
end