diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/scripting/utils.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/scripting/utils.cpp b/src/mongo/scripting/utils.cpp index 99e33ac4600..f3ae976d019 100644 --- a/src/mongo/scripting/utils.cpp +++ b/src/mongo/scripting/utils.cpp @@ -39,10 +39,7 @@ namespace mongo { } static BSONObj native_version( const BSONObj& args, void* data ) { - cout << "version: " << versionString << endl; - if ( strstr( versionString , "+" ) ) - printGitVersion(); - return BSONObj(); + return BSON("" << versionString); } static BSONObj native_sleep( const mongo::BSONObj& args, void* data ) { |