summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-04 10:54:00 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-04 10:54:00 +0200
commitd92749989490289793e1e64fc6fff5673c41c75a (patch)
treede832e51b57ef3bbf712ecd73753f97d6cf985b8
parent43217dd5ddcb7557ea0c7300c6a02253f1b99d7d (diff)
downloadgitlab-ce-d92749989490289793e1e64fc6fff5673c41c75a.tar.gz
Remove unused Project#code function.
-rw-r--r--app/models/project.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index d228da192e4..1c7fd27a38b 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -326,11 +326,6 @@ class Project < ActiveRecord::Base
@ci_service ||= ci_services.select(&:activated?).first
end
- # For compatibility with old code
- def code
- path
- end
-
def items_for(entity)
case entity
when 'issue' then