Skip to content

Commit

Permalink
SERVER-8510 Killed old unused Module class
Browse files Browse the repository at this point in the history
  • Loading branch information
sverch committed Sep 5, 2013
1 parent ace97f9 commit 3de119f
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 158 deletions.
3 changes: 1 addition & 2 deletions src/mongo/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,7 @@ serverOnlyFiles += [ "s/d_logic.cpp",
"s/d_state.cpp",
"s/d_split.cpp",
"s/d_merge.cpp",
"client/distlock_test.cpp",
"db/module.cpp" ]
"client/distlock_test.cpp" ]

env.StaticLibrary("defaultversion", "s/default_version.cpp")

Expand Down
6 changes: 0 additions & 6 deletions src/mongo/db/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include "mongo/db/introspect.h"
#include "mongo/db/json.h"
#include "mongo/db/kill_current_op.h"
#include "mongo/db/module.h"
#include "mongo/db/pdfile.h"
#include "mongo/db/query/internal_plans.h"
#include "mongo/db/range_deleter_service.h"
Expand Down Expand Up @@ -695,8 +694,6 @@ namespace mongo {
log() << startupWarningsLog;
}

Module::initAll();

if ( scriptingEnabled ) {
ScriptEngine::setup();
globalScriptEngine->setCheckInterruptCallback( jsInterruptCallback );
Expand Down Expand Up @@ -932,7 +929,6 @@ static void buildOptionsDescriptions(po::options_description *pVisible,
#ifdef MONGO_SSL
visible_options.add(ssl_options);
#endif
Module::addOptions( visible_options );
}

static void processCommandLineOptions(const std::vector<std::string>& argv) {
Expand Down Expand Up @@ -1298,8 +1294,6 @@ static void processCommandLineOptions(const std::vector<std::string>& argv) {
log() << endl;
}

Module::configAll(params);

#ifdef _WIN32
ntservice::configureService(initService,
params,
Expand Down
68 changes: 0 additions & 68 deletions src/mongo/db/module.cpp

This file was deleted.

70 changes: 0 additions & 70 deletions src/mongo/db/module.h

This file was deleted.

2 changes: 0 additions & 2 deletions src/mongo/db/mongod.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4516,7 +4516,6 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="matcher_covered.h" />
<ClInclude Include="memconcept.h" />
<ClInclude Include="minilex.h" />
<ClInclude Include="module.h" />
<ClInclude Include="namespace_details-inl.h" />
<ClInclude Include="namespace_details.h" />
<ClInclude Include="field_ref.h" />
Expand Down Expand Up @@ -4573,7 +4572,6 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="lasterror.cpp" />
<ClCompile Include="matcher_covered.cpp" />
<ClCompile Include="..\util\mmap_win.cpp" />
<ClCompile Include="module.cpp" />
<ClCompile Include="..\client\parallel.cpp" />
<ClCompile Include="pdfile.cpp" />
<ClCompile Include="scanandorder.cpp" />
Expand Down
6 changes: 0 additions & 6 deletions src/mongo/db/mongod.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,6 @@
<ClCompile Include="memconcept.cpp">
<Filter>db\Source Files\e to n</Filter>
</ClCompile>
<ClCompile Include="module.cpp">
<Filter>db\Source Files\e to n</Filter>
</ClCompile>
<ClCompile Include="namespace_details.cpp">
<Filter>db\Source Files\e to n</Filter>
</ClCompile>
Expand Down Expand Up @@ -3929,9 +3926,6 @@
<ClInclude Include="minilex.h">
<Filter>db\Header Files\e to n</Filter>
</ClInclude>
<ClInclude Include="module.h">
<Filter>db\Header Files\e to n</Filter>
</ClInclude>
<ClInclude Include="cloner.h">
<Filter>db\Header Files\a to d</Filter>
</ClInclude>
Expand Down
1 change: 0 additions & 1 deletion src/mongo/dbtests/test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,6 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="..\db\matcher\match_details.h" />
<ClInclude Include="..\db\matcher_covered.h" />
<ClInclude Include="..\db\memconcept.h" />
<ClInclude Include="..\db\module.h" />
<ClInclude Include="..\db\mongomutex.h" />
<ClInclude Include="..\db\namespace_details-inl.h" />
<ClInclude Include="..\db\namespace_details.h" />
Expand Down
3 changes: 0 additions & 3 deletions src/mongo/dbtests/test.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -880,9 +880,6 @@
<ClInclude Include="..\db\memconcept.h">
<Filter>db\Header Files\e to n</Filter>
</ClInclude>
<ClInclude Include="..\db\module.h">
<Filter>db\Header Files\e to n</Filter>
</ClInclude>
<ClInclude Include="..\util\admin_access.h">
<Filter>util\Header Files</Filter>
</ClInclude>
Expand Down

0 comments on commit 3de119f

Please sign in to comment.