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)