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/InventoryCache.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 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs index 2fc8ee3..499ca5e 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -99,14 +99,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
99 | m_Inventories.AddOrUpdate(userID, inv, 120); | 99 | m_Inventories.AddOrUpdate(userID, inv, 120); |
100 | } | 100 | } |
101 | 101 | ||
102 | public InventoryCollection GetUserInventory(UUID userID) | ||
103 | { | ||
104 | InventoryCollection inv = null; | ||
105 | if (m_Inventories.TryGetValue(userID, out inv)) | ||
106 | return inv; | ||
107 | return null; | ||
108 | } | ||
109 | |||
110 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) | 102 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) |
111 | { | 103 | { |
112 | InventoryCollection inv = null; | 104 | InventoryCollection inv = null; |