1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 02:41:15 +00:00

remove redundant 'return' from app/models/changeset.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20676 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-12-19 17:32:49 +00:00
parent 9e7b61591f
commit 818e813ef2

View File

@ -289,7 +289,7 @@ class Changeset < ActiveRecord::Base
comments =~ /\A(.+?)\r?\n(.*)$/m
@short_comments = $1 || comments
@long_comments = $2.to_s.strip
return @short_comments, @long_comments
[@short_comments, @long_comments]
end
# Singleton class method is public