summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-04-05 15:48:18 +0200
committerAndreas Brandl <abrandl@gitlab.com>2018-04-05 20:22:04 +0200
commit1f90389f34cf632a78c3681674316e69da70539b (patch)
treeba0ba185027a791c34f3486ab31b48e5551e2c3e
parent29a134ed063be0f70c12bf4086ed36255b5c2b46 (diff)
downloadgitlab-ce-ab-37462-cache-personal-projects-count.tar.gz
-rw-r--r--app/models/user.rb6
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)