diff options
author | Oren Hurvitz | 2014-04-23 08:17:25 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-23 14:38:33 +0100 |
commit | 018832522c3c5e37f027bade05c93b88d6ca3827 (patch) | |
tree | ff5b67195e19263505140c121920e6a6be3b4ddc /OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | |
parent | Eliminated 'Obsolete' warning: don't call do-nothing function SetPreviousAppe... (diff) | |
download | opensim-SC_OLD-018832522c3c5e37f027bade05c93b88d6ca3827.zip opensim-SC_OLD-018832522c3c5e37f027bade05c93b88d6ca3827.tar.gz opensim-SC_OLD-018832522c3c5e37f027bade05c93b88d6ca3827.tar.bz2 opensim-SC_OLD-018832522c3c5e37f027bade05c93b88d6ca3827.tar.xz |
Removed GetUserInventory(). It wasn't being used, and was creating warnings because it's Obsolete.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs index 77a3c82..fd41187 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | |||
@@ -316,29 +316,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
316 | return connector.GetInventorySkeleton(userID); | 316 | return connector.GetInventorySkeleton(userID); |
317 | } | 317 | } |
318 | 318 | ||
319 | public InventoryCollection GetUserInventory(UUID userID) | ||
320 | { | ||
321 | string invURL = GetInventoryServiceURL(userID); | ||
322 | m_log.DebugFormat("[HG INVENTORY CONNECTOR]: GetUserInventory for {0} {1}", userID, invURL); | ||
323 | |||
324 | if (invURL == null) // not there, forward to local inventory connector to resolve | ||
325 | return m_LocalGridInventoryService.GetUserInventory(userID); | ||
326 | |||
327 | InventoryCollection c = m_Cache.GetUserInventory(userID); | ||
328 | if (c != null) | ||
329 | return c; | ||
330 | |||
331 | IInventoryService connector = GetConnector(invURL); | ||
332 | c = connector.GetUserInventory(userID); | ||
333 | |||
334 | m_Cache.Cache(userID, c); | ||
335 | return c; | ||
336 | } | ||
337 | |||
338 | public void GetUserInventory(UUID userID, InventoryReceiptCallback callback) | ||
339 | { | ||
340 | } | ||
341 | |||
342 | public InventoryFolderBase GetRootFolder(UUID userID) | 319 | public InventoryFolderBase GetRootFolder(UUID userID) |
343 | { | 320 | { |
344 | //m_log.DebugFormat("[HG INVENTORY CONNECTOR]: GetRootFolder for {0}", userID); | 321 | //m_log.DebugFormat("[HG INVENTORY CONNECTOR]: GetRootFolder for {0}", userID); |