From 863ea48a659b9138487f7ee2d2051e7cea89d71c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 19 Dec 2020 17:32:56 +0000 Subject: [PATCH] remove redundant 'return' from app/models/attachment.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20677 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5