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:
authorAndreas Brandl <abrandl@gitlab.com>2018-04-05 16:48:18 +0300
committerAndreas Brandl <abrandl@gitlab.com>2018-04-06 13:27:20 +0300
commitfa46b19ddb82851523fabaea2fca4660c181db89 (patch)
tree948e24ac8908a5877122709d0b85fdae709ef81a /app/models/user.rb
parent29b0a90c208f29606a05d1391a72b9ff7ff843b1 (diff)
Remove unused method.
Diffstat (limited to 'app/models/user.rb')
-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)