no longor drop_indexes when we drop_collection

This commit is contained in:
Mike Dirolf 2009-04-16 09:55:50 -04:00
parent 0aec898596
commit a2898effb4
1 changed files with 0 additions and 2 deletions

View File

@ -239,8 +239,6 @@ module XGen
def drop_collection(name)
return true unless collection_names.include?(full_coll_name(name))
coll = collection(name)
coll.drop_indexes # Mongo requires that we drop indexes manually
ok?(db_command(:drop => name))
end