summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-04-11 15:17:25 +0000
committerDouwe Maan <douwe@gitlab.com>2017-04-11 15:17:25 +0000
commit3082a1195cc0939e0aa0b48a9f59dd84152ebdad (patch)
treef3b963935c5fe18a2490e04929b49f110837a9dd /app/models/user.rb
parent568052b0c637f99462855c043819aa0dd347ff06 (diff)
parenta1a94e739e73adf0225aa823e476b15e30b9bb30 (diff)
downloadgitlab-ce-3082a1195cc0939e0aa0b48a9f59dd84152ebdad.tar.gz
Merge branch 'rs-remove-open-for-scope' into 'master' test-branch-name
Remove unused scopes See merge request !10609
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 31e975b8e53..457ba05fb04 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -587,10 +587,6 @@ class User < ActiveRecord::Base
name.split.first unless name.blank?
end
- def cared_merge_requests
- MergeRequest.cared(self)
- end
-
def projects_limit_left
projects_limit - personal_projects.count
end