summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/scripting/engine_v8.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/scripting/engine_v8.cpp b/src/mongo/scripting/engine_v8.cpp
index 16d4153fa3d..c930a787913 100644
--- a/src/mongo/scripting/engine_v8.cpp
+++ b/src/mongo/scripting/engine_v8.cpp
@@ -1201,9 +1201,6 @@ namespace mongo {
// install db access functions in the global object
installDBAccess();
- // add global load() helper
- injectV8Function("load", load);
-
// install the Mongo function object and instantiate the 'db' global
_MongoFT = FTPtr::New(getMongoFunctionTemplate(this, true));
injectV8Function("Mongo", MongoFT(), _global);