|
@@ -23,7 +23,6 @@ module.exports =
|
|
|
if (typeof callback == 'undefined')
|
|
if (typeof callback == 'undefined')
|
|
|
callback = options
|
|
callback = options
|
|
|
options = {}
|
|
options = {}
|
|
|
- callback = () ->
|
|
|
|
|
|
|
|
|
|
collection = db_command.collectionName
|
|
collection = db_command.collectionName
|
|
|
if collection.match(/\$cmd$/)
|
|
if collection.match(/\$cmd$/)
|
|
@@ -52,7 +51,6 @@ module.exports =
|
|
|
if (typeof callback == 'undefined')
|
|
if (typeof callback == 'undefined')
|
|
|
callback = options
|
|
callback = options
|
|
|
options = {}
|
|
options = {}
|
|
|
- callback = () ->
|
|
|
|
|
|
|
|
|
|
if ns.match(/\$cmd$/)
|
|
if ns.match(/\$cmd$/)
|
|
|
# Ignore noisy command methods like authenticating, ismaster and ping
|
|
# Ignore noisy command methods like authenticating, ismaster and ping
|