diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-04 16:43:28 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-04 16:43:28 +0100 |
commit | d38dd3c4ca81cdac4a3c5be4bfce930730faf99d (patch) | |
tree | e51bdd1f273b3dbff9506bfc600ff039aad0d15d /app | |
parent | d12e764744e3be11c7ed886fb454e09a4d1f57d6 (diff) | |
parent | 64e2d884d6c8d822ae6e7d4d26af054396b74921 (diff) | |
download | gitlab-ce-d38dd3c4ca81cdac4a3c5be4bfce930730faf99d.tar.gz |
Merge remote-tracking branch 'origin/labels-api'
See merge request !7014
Signed-off-by: Rémy Coutable <remy@rymai.me>
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 |