From 996b39cde142b5eb69a94c680d696e4a880ab9bf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 12 Dec 2014 21:33:28 +0000 Subject: Removed unused method. git-svn-id: http://svn.redmine.org/redmine/trunk@13740 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/change.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app') 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) -- cgit v1.2.3