mirror of
https://github.com/meineerde/redmine.git
synced 2026-04-02 14:01:38 +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:
parent
9e7b61591f
commit
818e813ef2
@ -289,7 +289,7 @@ class Changeset < ActiveRecord::Base
|
|||||||
comments =~ /\A(.+?)\r?\n(.*)$/m
|
comments =~ /\A(.+?)\r?\n(.*)$/m
|
||||||
@short_comments = $1 || comments
|
@short_comments = $1 || comments
|
||||||
@long_comments = $2.to_s.strip
|
@long_comments = $2.to_s.strip
|
||||||
return @short_comments, @long_comments
|
[@short_comments, @long_comments]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Singleton class method is public
|
# Singleton class method is public
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user