summaryrefslogtreecommitdiff
path: root/shell/mongo.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-05-05 17:28:24 -0400
committerEliot Horowitz <eliot@10gen.com>2009-05-05 17:28:24 -0400
commitc9d845038910f6ee04461289b71122e697d4a727 (patch)
treeffa9109628e8154658f40d07e4fadfec66dd8d77 /shell/mongo.js
parent77c36b8c3710a7e079a6db3639346fa00e01a313 (diff)
downloadmongo-c9d845038910f6ee04461289b71122e697d4a727.tar.gz
Spider Monkey: framework mostly done now
Diffstat (limited to 'shell/mongo.js')
-rw-r--r--shell/mongo.js6
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 );
}