minor: removed unnecessary reference to @slave_okay

This commit is contained in:
Kyle Banker 2011-06-15 11:31:10 -04:00
parent b496f23b75
commit 13a53f2554
1 changed files with 1 additions and 2 deletions

View File

@ -89,7 +89,6 @@ module Mongo
# Are we allowing reads from secondaries?
@read_secondary = opts.fetch(:read_secondary, false)
@slave_okay = false
setup(opts)
end
@ -186,7 +185,7 @@ module Mongo
#
# @return [Boolean]
def slave_ok?
@read_secondary || @slave_ok
@read_secondary
end
def authenticate_pools