diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-04-06 12:13:49 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-04-06 12:13:49 +0300 |
commit | 20e9b32c96a5b08e3f61c8974b43977f98d8666e (patch) | |
tree | 8d2e0e895c7012088eaa62015a311aee2ab93d39 /app/models | |
parent | 6cad73439b3850e2ed7e5f09357cff43f73e47fb (diff) | |
parent | b099c6ff9fcbd81beb75fd12bff8d1d5b9c16083 (diff) |
Merge branch 'ui-mr-counter-cache' into 'master'
Deleting a MR you are assigned to should decrements counter
Closes #44458
See merge request gitlab-org/gitlab-ce!17951
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 7b6857a0d34..ce56b39b1c8 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1046,11 +1046,6 @@ class User < ActiveRecord::Base end end - def update_cache_counts - assigned_open_merge_requests_count(force: true) - assigned_open_issues_count(force: true) - end - def update_todos_count_cache todos_done_count(force: true) todos_pending_count(force: true) |