Skip to content

Commit

Permalink
skip username checks if there's user for import
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchome committed Feb 28, 2014
1 parent 4749921 commit ad46efc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/clients/inst_user_first.rb
Expand Up @@ -336,6 +336,9 @@ def main
# map with id's of confirmed questions
@ui_map = {}

# if there's user to import, we do not have to continue with checks
break if @to_import.size > 0

# username checks
@username = UI.QueryWidget(Id(:username), :Value)

Expand Down

0 comments on commit ad46efc

Please sign in to comment.