summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-04 16:43:28 +0100
committerRémy Coutable <remy@rymai.me>2016-11-04 16:43:28 +0100
commitd38dd3c4ca81cdac4a3c5be4bfce930730faf99d (patch)
treee51bdd1f273b3dbff9506bfc600ff039aad0d15d /app
parentd12e764744e3be11c7ed886fb454e09a4d1f57d6 (diff)
parent64e2d884d6c8d822ae6e7d4d26af054396b74921 (diff)
downloadgitlab-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.rb4
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