diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-05-05 17:28:24 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-05-05 17:28:24 -0400 |
commit | c9d845038910f6ee04461289b71122e697d4a727 (patch) | |
tree | ffa9109628e8154658f40d07e4fadfec66dd8d77 /shell/mongo.js | |
parent | 77c36b8c3710a7e079a6db3639346fa00e01a313 (diff) | |
download | mongo-c9d845038910f6ee04461289b71122e697d4a727.tar.gz |
Spider Monkey: framework mostly done now
Diffstat (limited to 'shell/mongo.js')
-rw-r--r-- | shell/mongo.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/shell/mongo.js b/shell/mongo.js index 48a987dff49..5fbba134965 100644 --- a/shell/mongo.js +++ b/shell/mongo.js @@ -30,12 +30,6 @@ Mongo.prototype.setSlaveOk = function() { } Mongo.prototype.getDB = function( name ){ - if ( typeof createDB == "function" ){ - var newdb = createDB( this , name ); - assert( this == newdb.getMongo() , "createDB sanity check 1" ); - assert( this == newdb._mongo , "createDB sanity check 2" ); - return newdb; - } return new DB( this , name ); } |