removed unnecessary condition

This commit is contained in:
Jim Menard 2009-01-30 17:08:49 -05:00
parent 60dcb19e87
commit 9b7b45f27c
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ module XGen
def save
coll = @file.chunk_collection
coll.remove({'_id' => @object_id}) if @object_id
coll.remove({'_id' => @object_id})
coll.insert(to_mongo_object)
end