diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-18 17:00:43 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:28 -0200 |
commit | aa78148901cd3877936bc2afcea9c329077bf951 (patch) | |
tree | 649387655244bc04235b1425b170238f88de3ae3 | |
parent | 891e5f4851c2067daba12a1750651170a1583481 (diff) | |
download | gitlab-ce-aa78148901cd3877936bc2afcea9c329077bf951.tar.gz |
Remove unused method Project#all_labels
-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 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 |