Skip to content

Commit

Permalink
Remove unneeded begin
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Sims committed Aug 5, 2016
1 parent 52b78e2 commit 2b248d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/github/ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def configure_membership_validation_strategy(strategy = nil)
# using Active Directory's Global Catalog
# functionality.
def configure_user_search_strategy(strategy)
@user_search_strategy = begin
@user_search_strategy =
case strategy.to_s
when "default"
GitHub::Ldap::UserSearch::Default.new(self)
Expand All @@ -320,7 +320,6 @@ def configure_user_search_strategy(strategy)
else
GitHub::Ldap::UserSearch::Default.new(self)
end
end
end

# Internal: Configure the member search strategy.
Expand Down

0 comments on commit 2b248d3

Please sign in to comment.