We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b4209 commit 518bd85Copy full SHA for 518bd85
lib/github/ldap.rb
@@ -323,20 +323,6 @@ def configure_user_search_strategy(strategy)
323
end
324
325
326
- def get_connection_by_host(host, port=389, auth=nil)
327
- auth ||= {:method => :simple, :username => @admin_user, :password => @admin_password}
328
-
329
- @connections ||= Hash.new do |cache, host|
330
- conn = GitHub::Ldap.new({
331
- host: host,
332
- port: port,
333
- auth: auth
334
- })
335
- cache[host] = conn
336
- end
337
- @connections[host]
338
339
340
# Internal: Configure the member search strategy.
341
#
342
0 commit comments