mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Fix RuboCop offense Lint/UselessRescue (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22035 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7cf89bf44e
commit
59775bde9f
@ -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…
x
Reference in New Issue
Block a user