Browse Source

Fix RuboCop offense Lint/UselessRescue (#36919).


git-svn-id: https://svn.redmine.org/redmine/trunk@22035 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
59775bde9f
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      app/models/user.rb

+ 0
- 2
app/models/user.rb View File

@@ -235,8 +235,6 @@ class User < Principal
end
user.update_last_login_on! if user && !user.new_record? && user.active?
user
rescue => text
raise text
end

# Returns the user who matches the given autologin +key+ or nil

Loading…
Cancel
Save