Commit 803ca9e8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7957 from cirosantilli/rm-unused-project-code

Remove unused Project#code function [failure unrelated]
parents 3a678f75 d9274998
...@@ -331,11 +331,6 @@ class Project < ActiveRecord::Base ...@@ -331,11 +331,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