summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-18 17:00:43 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:28 -0200
commitaa78148901cd3877936bc2afcea9c329077bf951 (patch)
tree649387655244bc04235b1425b170238f88de3ae3
parent891e5f4851c2067daba12a1750651170a1583481 (diff)
downloadgitlab-ce-aa78148901cd3877936bc2afcea9c329077bf951.tar.gz
Remove unused method Project#all_labels
-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 94105a8ea79..bc15ca3fc2e 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -738,10 +738,6 @@ class Project < ActiveRecord::Base
end
end
- def all_labels
- Label.find_by_project_id(self.id)
- end
-
def find_service(list, name)
list.find { |service| service.to_param == name }
end