diff options
author | Saito <saitowu@gmail.com> | 2012-11-09 01:41:07 +0800 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2012-11-09 01:41:07 +0800 |
commit | f1ac2a616bedc2941bc7f67e2ac25e915da2ddb2 (patch) | |
tree | 9b90978fd0bcb67d5a359efbc71ded8ceb4333c0 /app/models/commit.rb | |
parent | 96211b01a86c0f147dda88f336e9443c94f46ea4 (diff) | |
download | gitlab-ce-f1ac2a616bedc2941bc7f67e2ac25e915da2ddb2.tar.gz |
remove encode lib, clean all encoded area.
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index e6a87dd9217..5efb20cea3b 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -1,6 +1,5 @@ class Commit include ActiveModel::Conversion - include Gitlab::Encode include StaticModel extend ActiveModel::Naming @@ -112,7 +111,7 @@ class Commit end def safe_message - @safe_message ||= utf8 message + @safe_message ||= message end def created_at @@ -124,7 +123,7 @@ class Commit end def author_name - utf8 author.name + author.name end # Was this commit committed by a different person than the original author? @@ -133,7 +132,7 @@ class Commit end def committer_name - utf8 committer.name + committer.name end def committer_email |