From: Toshi MARUYAMA Date: Sat, 19 Dec 2020 17:32:56 +0000 (+0000) Subject: remove redundant 'return' from app/models/attachment.rb X-Git-Tag: 4.2.0~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=863ea48a659b9138487f7ee2d2051e7cea89d71c;p=redmine.git remove redundant 'return' from app/models/attachment.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20677 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/attachment.rb b/app/models/attachment.rb index 3d8d0ee1e..2ecabb4fd 100644 --- a/app/models/attachment.rb +++ b/app/models/attachment.rb @@ -258,7 +258,7 @@ class Attachment < ActiveRecord::Base "to #{target}\nException was: #{e.message}" ) end - return nil + nil end end end