Comment out old m_storeLocal from AssetXferUploader.

This was only used if none of new item, update item or update task item had been set.
But since all transactions go through these paths this old code is redundant.
connector_plugin
Justin Clark-Casey (justincc) 2012-09-25 23:12:28 +01:00
parent eb5bec96e4
commit b96a53962b
1 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
private string m_description = String.Empty;
private bool m_dumpAssetToFile;
private string m_name = String.Empty;
private bool m_storeLocal;
// private bool m_storeLocal;
private uint nextPerm = 0;
private IClientAPI ourClient;
@ -197,7 +197,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
m_asset.Local = storeLocal;
m_asset.Temporary = tempFile;
m_storeLocal = storeLocal;
// m_storeLocal = storeLocal;
if (m_asset.Data.Length > 2)
{
@ -249,10 +249,10 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
m_transactions.RemoveXferUploader(m_transactionID);
}
else if (m_storeLocal)
{
m_Scene.AssetService.Store(m_asset);
}
// else if (m_storeLocal)
// {
// m_Scene.AssetService.Store(m_asset);
// }
}
m_log.DebugFormat(