summaryrefslogtreecommitdiffstats
path: root/app/models/change.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-12 21:33:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-12 21:33:28 +0000
commit996b39cde142b5eb69a94c680d696e4a880ab9bf (patch)
tree89366f543acfb6779bd63d6f805e8bcf514d1422 /app/models/change.rb
parent2fe806a4a49cc3fcd7c2b7fe3a385d3a46ffbfd5 (diff)
downloadredmine-996b39cde142b5eb69a94c680d696e4a880ab9bf.tar.gz
redmine-996b39cde142b5eb69a94c680d696e4a880ab9bf.zip
Removed unused method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13740 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/change.rb')
-rw-r--r--app/models/change.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/change.rb b/app/models/change.rb
index b24c1bd54..625563da4 100644
--- a/app/models/change.rb
+++ b/app/models/change.rb
@@ -23,10 +23,6 @@ class Change < ActiveRecord::Base
before_validation :replace_invalid_utf8_of_path
attr_protected :id
- def relative_path
- changeset.repository.relative_path(path)
- end
-
def replace_invalid_utf8_of_path
self.path = Redmine::CodesetUtil.replace_invalid_utf8(self.path)
self.from_path = Redmine::CodesetUtil.replace_invalid_utf8(self.from_path)