Commit d9274998 authored by Ciro Santilli's avatar Ciro Santilli

Remove unused Project#code function.

parent 43217dd5
...@@ -326,11 +326,6 @@ class Project < ActiveRecord::Base ...@@ -326,11 +326,6 @@ class Project < ActiveRecord::Base
@ci_service ||= ci_services.select(&:activated?).first @ci_service ||= ci_services.select(&:activated?).first
end end
# For compatibility with old code
def code
path
end
def items_for(entity) def items_for(entity)
case entity case entity
when 'issue' then when 'issue' then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment