diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-04 00:06:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-04 00:06:15 +0000 |
commit | e2334f3613aae1c0f5b99d908e1c51213bfd7635 (patch) | |
tree | 8fd02806b70ffe4d49633412bfa2c7b58304095c /app/finders | |
parent | 4529c19950e412f0461910585414f8633d3b1b18 (diff) | |
download | gitlab-ce-e2334f3613aae1c0f5b99d908e1c51213bfd7635.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/user_finder.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/finders/user_finder.rb b/app/finders/user_finder.rb index 1dd1a27437e..556be4c4338 100644 --- a/app/finders/user_finder.rb +++ b/app/finders/user_finder.rb @@ -52,12 +52,6 @@ class UserFinder end end - def find_by_ssh_key_id - return unless input_is_id? - - User.find_by_ssh_key_id(@username_or_id) - end - def input_is_id? @username_or_id.is_a?(Numeric) || @username_or_id =~ /^\d+$/ end |