From 86d2bf7186ed680b2179727e903c82e48b448073 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Mon, 14 Sep 2009 14:28:01 -0400 Subject: [PATCH] minor: remove superfluous call --- lib/mongo/cursor.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/mongo/cursor.rb b/lib/mongo/cursor.rb index cf3a20c..5d739e2 100644 --- a/lib/mongo/cursor.rb +++ b/lib/mongo/cursor.rb @@ -179,7 +179,6 @@ module Mongo end def next_object_on_wire - send_query_if_needed # if @n_remaining is 0 but we have a non-zero cursor, there are more # to fetch, so do a GetMore operation, but don't do it here - do it # when someone pulls an object out of the cache and it's empty