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/Server/Handlers/Inventory/InventoryServerInConnector.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/Server/Handlers/Inventory/InventoryServerInConnector.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs b/OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs index 1d422a7..b295446 100644 --- a/OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs +++ b/OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs | |||
@@ -86,10 +86,6 @@ namespace OpenSim.Server.Handlers.Inventory | |||
86 | protected virtual void AddHttpHandlers(IHttpServer m_httpServer) | 86 | protected virtual void AddHttpHandlers(IHttpServer m_httpServer) |
87 | { | 87 | { |
88 | m_httpServer.AddStreamHandler( | 88 | m_httpServer.AddStreamHandler( |
89 | new RestDeserialiseSecureHandler<Guid, InventoryCollection>( | ||
90 | "POST", "/GetInventory/", GetUserInventory, CheckAuthSession)); | ||
91 | |||
92 | m_httpServer.AddStreamHandler( | ||
93 | new RestDeserialiseSecureHandler<Guid, List<InventoryFolderBase>>( | 89 | new RestDeserialiseSecureHandler<Guid, List<InventoryFolderBase>>( |
94 | "POST", "/SystemFolders/", GetSystemFolders, CheckAuthSession)); | 90 | "POST", "/SystemFolders/", GetSystemFolders, CheckAuthSession)); |
95 | 91 | ||
@@ -178,12 +174,6 @@ namespace OpenSim.Server.Handlers.Inventory | |||
178 | 174 | ||
179 | #region Wrappers for converting the Guid parameter | 175 | #region Wrappers for converting the Guid parameter |
180 | 176 | ||
181 | public InventoryCollection GetUserInventory(Guid guid) | ||
182 | { | ||
183 | UUID userID = new UUID(guid); | ||
184 | return m_InventoryService.GetUserInventory(userID); | ||
185 | } | ||
186 | |||
187 | public List<InventoryFolderBase> GetSystemFolders(Guid guid) | 177 | public List<InventoryFolderBase> GetSystemFolders(Guid guid) |
188 | { | 178 | { |
189 | UUID userID = new UUID(guid); | 179 | UUID userID = new UUID(guid); |