minor: removed redundant code from uri_parser configure connect method

This commit is contained in:
Tyler Brock 2012-01-29 19:38:41 -05:00
parent 90e35d3137
commit 6ae5dbd37c
1 changed files with 0 additions and 4 deletions

View File

@ -215,10 +215,6 @@ module Mongo
end end
def configure_connect def configure_connect
if @nodes.length > 1 && !@connect
@connect = 'replicaset'
end
if !@connect if !@connect
if @nodes.length > 1 if @nodes.length > 1
@connect = 'replicaset' @connect = 'replicaset'