Commit 0612b070 authored by Stan Hu's avatar Stan Hu

Remove unnecessary guard clause

parent f7a7a753
...@@ -125,8 +125,6 @@ class Import::BitbucketServerController < Import::BaseController ...@@ -125,8 +125,6 @@ class Import::BitbucketServerController < Import::BaseController
end end
def clear_session_data def clear_session_data
return unless session
session[bitbucket_server_url_key] = nil session[bitbucket_server_url_key] = nil
session[bitbucket_server_username_key] = nil session[bitbucket_server_username_key] = nil
session[personal_access_token_key] = nil session[personal_access_token_key] = nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment