Commit fa46b19d authored by Andreas Brandl's avatar Andreas Brandl

Remove unused method.

parent 29b0a90c
...@@ -1048,12 +1048,6 @@ class User < ActiveRecord::Base ...@@ -1048,12 +1048,6 @@ class User < ActiveRecord::Base
end.to_i end.to_i
end 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 def update_todos_count_cache
todos_done_count(force: true) todos_done_count(force: true)
todos_pending_count(force: true) todos_pending_count(force: true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment