diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-04 16:48:07 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-04 16:48:07 +0100 |
commit | 5b220b38b436f409e87c3901db2b5a061c01b12e (patch) | |
tree | 8c1bf1d9e3419a62dea9ec6a900787c96b9dad7d /app | |
parent | 920551b5850dee2d65db3c1fbcd243ece172c508 (diff) | |
parent | d38dd3c4ca81cdac4a3c5be4bfce930730faf99d (diff) | |
download | gitlab-ce-5b220b38b436f409e87c3901db2b5a061c01b12e.tar.gz |
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index cf931f64c03..686d285410b 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1067,10 +1067,6 @@ class Project < ActiveRecord::Base forks.count end - def find_label(name) - labels.find_by(name: name) - end - def origin_merge_requests merge_requests.where(source_project_id: self.id) end |