* refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton
parent
918c0a4826
commit
cdd3537706
|
@ -94,7 +94,7 @@ namespace OpenSim.Framework.Communications
|
|||
/// <param name="userID"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref='System.Exception'>This will be thrown if there is a problem with the inventory service</exception>
|
||||
protected abstract InventoryData GetInventorySkeleton(LLUUID userID, string inventoryServerUrl);
|
||||
protected abstract InventoryData GetInventorySkeleton(LLUUID userID);
|
||||
|
||||
/// <summary>
|
||||
/// Called when we receive the client's initial XMLRPC login_to_simulator request message
|
||||
|
@ -230,12 +230,7 @@ namespace OpenSim.Framework.Communications
|
|||
|
||||
try
|
||||
{
|
||||
string inventoryServerUrl = "";
|
||||
//if (!String.IsNullOrEmpty(userProfile.UserInventoryURI))
|
||||
//{
|
||||
// inventoryServerUrl = userProfile.UserInventoryURI;
|
||||
//}
|
||||
inventData = GetInventorySkeleton(agentID, inventoryServerUrl);
|
||||
inventData = GetInventorySkeleton(agentID);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -390,15 +385,7 @@ namespace OpenSim.Framework.Communications
|
|||
{
|
||||
LLUUID agentID = userProfile.ID;
|
||||
|
||||
// Inventory Library Section
|
||||
|
||||
string inventoryServerUrl = "";
|
||||
//if (!String.IsNullOrEmpty(userProfile.UserInventoryURI))
|
||||
//{
|
||||
// inventoryServerUrl = userProfile.UserInventoryURI;
|
||||
//}
|
||||
|
||||
InventoryData inventData = GetInventorySkeleton(agentID, inventoryServerUrl);
|
||||
InventoryData inventData = GetInventorySkeleton(agentID);
|
||||
ArrayList AgentInventoryArray = inventData.InventoryArray;
|
||||
|
||||
Hashtable InventoryRootHash = new Hashtable();
|
||||
|
|
|
@ -402,17 +402,12 @@ namespace OpenSim.Grid.UserServer
|
|||
else
|
||||
{
|
||||
response.CreateDeadRegionResponse();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
response.CreateDeadRegionResponse();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
catch (Exception e)
|
||||
|
@ -424,7 +419,7 @@ namespace OpenSim.Grid.UserServer
|
|||
}
|
||||
|
||||
// See LoginService
|
||||
protected override InventoryData GetInventorySkeleton(LLUUID userID, string serverUrl)
|
||||
protected override InventoryData GetInventorySkeleton(LLUUID userID)
|
||||
{
|
||||
m_log.DebugFormat(
|
||||
"[LOGIN]: Contacting inventory service at {0} for inventory skeleton of user {1}",
|
||||
|
|
|
@ -258,7 +258,7 @@ namespace OpenSim.Region.Communications.Local
|
|||
}
|
||||
|
||||
// See LoginService
|
||||
protected override InventoryData GetInventorySkeleton(LLUUID userID, string serverUrl)
|
||||
protected override InventoryData GetInventorySkeleton(LLUUID userID)
|
||||
{
|
||||
List<InventoryFolderBase> folders = m_Parent.InterServiceInventoryService.GetInventorySkeleton(userID);
|
||||
|
||||
|
|
Loading…
Reference in New Issue