Revert "Old OpenSim installations may have no AssetCaching setting in config-include/StandaloneCommon.ini [Modules] (or no [Modules] at all)"

This will be replaced by a better solution where an enabled baking module will fail if no cache is in place (same for dynamic texture modules)

This reverts commit 7058a4c259.
mysql-performance
Justin Clark-Casey (justincc) 2010-02-05 19:21:27 +00:00
parent 7058a4c259
commit 68bb2dac45
1 changed files with 1 additions and 3 deletions

View File

@ -324,9 +324,7 @@ namespace OpenSim.Region.CoreModules.Asset
if (moduleConfig == null) if (moduleConfig == null)
return; return;
// We're going to make CenomeAssetCache the default if there is no AssetCaching setting at all. This string name = moduleConfig.GetString("AssetCaching");
// matches the default StandaloneCommon.ini.example
string name = moduleConfig.GetString("AssetCaching", Name);
//Log.DebugFormat("[XXX] name = {0} (this module's name: {1}", name, Name); //Log.DebugFormat("[XXX] name = {0} (this module's name: {1}", name, Name);
if (name != Name) if (name != Name)