From 789ad901737cfed9f383e467464c23943c94ecf4 Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Thu, 2 Apr 2015 15:48:57 -0400 Subject: SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext. --- src/mongo/db/dbhelpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/dbhelpers.cpp') diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp index 74737b38d28..6833aa33dc9 100644 --- a/src/mongo/db/dbhelpers.cpp +++ b/src/mongo/db/dbhelpers.cpp @@ -43,7 +43,7 @@ #include "mongo/db/db.h" #include "mongo/db/db_raii.h" #include "mongo/db/exec/working_set_common.h" -#include "mongo/db/global_environment_experiment.h" +#include "mongo/db/service_context.h" #include "mongo/db/index/btree_access_method.h" #include "mongo/db/json.h" #include "mongo/db/keypattern.h" @@ -449,7 +449,7 @@ namespace mongo { BSONObj deletedId; collection->deleteDocument( txn, rloc, false, false, &deletedId ); // The above throws on failure, and so is not logged - getGlobalEnvironment()->getOpObserver()->onDelete(txn, ns, deletedId, fromMigrate); + getGlobalServiceContext()->getOpObserver()->onDelete(txn, ns, deletedId, fromMigrate); wuow.commit(); numDeleted++; } -- cgit v1.2.1