]> source.dussan.org Git - redmine.git/commitdiff
remove redundant 'return' from app/models/attachment.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Dec 2020 17:32:56 +0000 (17:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Dec 2020 17:32:56 +0000 (17:32 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20677 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/attachment.rb

index 3d8d0ee1eaf73e2f12a755ff03200094da3a54db..2ecabb4fdf4b3956380fa5a744f65b27979c883c 100644 (file)
@@ -258,7 +258,7 @@ class Attachment < ActiveRecord::Base
               "to #{target}\nException was: #{e.message}"
           )
         end
-        return nil
+        nil
       end
     end
   end