summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-28 22:15:43 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-28 22:15:43 +0200
commit803ca9e8cc58e120c876f876d96ffc15f86630f5 (patch)
treef11523753e0decaaf0bdfc9d44d8a42d742f153c /app/models
parent3a678f758d75413e0377816e5de01d7fcd10f0e9 (diff)
parentd92749989490289793e1e64fc6fff5673c41c75a (diff)
downloadgitlab-ce-803ca9e8cc58e120c876f876d96ffc15f86630f5.tar.gz
Merge pull request #7957 from cirosantilli/rm-unused-project-code
Remove unused Project#code function [failure unrelated]
Diffstat (limited to 'app/models')
-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 f0a49b633fe..0c183edefdc 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -331,11 +331,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