1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

Removed unused method.

git-svn-id: http://svn.redmine.org/redmine/trunk@13740 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-12 21:33:28 +00:00
parent 2fe806a4a4
commit 996b39cde1

View File

@ -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)