Permalink
Browse files

db: prevent printing db name after method execution

  • Loading branch information...
1 parent b7fa322 commit c7f0759d2560d96a523f963ba6ed4ca715a36ecd @aheckmann committed Jan 26, 2013
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/db.js
View
@@ -49,8 +49,6 @@ function createConstructor (db) {
}
console.log('database %s was dropped', name);
});
-
- return this;
}
/**
@@ -66,7 +64,6 @@ function createConstructor (db) {
}
db.close.apply(db, args);
- return this;
}
/**
@@ -125,8 +122,6 @@ function createConstructor (db) {
if (cb) return cb(err, names);
});
-
- return this;
}
/**
@@ -161,7 +156,6 @@ function createConstructor (db) {
: 'executeDbCommand'
db[method](cmd, opts, cb);
- return this;
}
return DB;

0 comments on commit c7f0759

Please sign in to comment.