diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-04-05 16:48:18 +0300 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-04-06 13:27:20 +0300 |
commit | fa46b19ddb82851523fabaea2fca4660c181db89 (patch) | |
tree | 948e24ac8908a5877122709d0b85fdae709ef81a /app/models | |
parent | 29b0a90c208f29606a05d1391a72b9ff7ff843b1 (diff) |
Remove unused method.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index a14aefc61d2..2b95be3f888 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1048,12 +1048,6 @@ class User < ActiveRecord::Base end.to_i end - def update_cache_counts - assigned_open_merge_requests_count(force: true) - assigned_open_issues_count(force: true) - personal_projects_count(force: true) - end - def update_todos_count_cache todos_done_count(force: true) todos_pending_count(force: true) |