From cdd353770691cb3c6bfcb452fc0fe2c2dffa454e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 24 Jul 2008 17:19:33 +0000 Subject: * refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton --- OpenSim/Framework/Communications/LoginService.cs | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index e7124c9..e95dd21 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -94,7 +94,7 @@ namespace OpenSim.Framework.Communications /// /// /// This will be thrown if there is a problem with the inventory service - protected abstract InventoryData GetInventorySkeleton(LLUUID userID, string inventoryServerUrl); + protected abstract InventoryData GetInventorySkeleton(LLUUID userID); /// /// 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(); @@ -817,4 +804,4 @@ namespace OpenSim.Framework.Communications } } } -} \ No newline at end of file +} -- cgit v1.1