diff options
author | Justin Clarke Casey | 2008-05-01 20:47:33 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-01 20:47:33 +0000 |
commit | 1de6cffa28348975a2492ce1e8a85c365df4dfaf (patch) | |
tree | 6431e5598defd603a4b2a8c5020b65d7df5a56a7 /OpenSim/Grid/InventoryServer/Main.cs | |
parent | create pass through of UserManagerBase to plugin calls (diff) | |
download | opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.zip opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.gz opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.bz2 opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.xz |
* Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
Diffstat (limited to 'OpenSim/Grid/InventoryServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/InventoryServer/Main.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs index 870997b..4076d21 100644 --- a/OpenSim/Grid/InventoryServer/Main.cs +++ b/OpenSim/Grid/InventoryServer/Main.cs | |||
@@ -95,23 +95,23 @@ namespace OpenSim.Grid.InventoryServer | |||
95 | 95 | ||
96 | m_httpServer.AddStreamHandler( | 96 | m_httpServer.AddStreamHandler( |
97 | new RestDeserialisehandler<InventoryFolderBase, bool>( | 97 | new RestDeserialisehandler<InventoryFolderBase, bool>( |
98 | "POST", "/NewFolder/", m_inventoryService.AddInventoryFolder)); | 98 | "POST", "/NewFolder/", m_inventoryService.AddFolder)); |
99 | 99 | ||
100 | m_httpServer.AddStreamHandler( | 100 | m_httpServer.AddStreamHandler( |
101 | new RestDeserialisehandler<InventoryFolderBase, bool>( | 101 | new RestDeserialisehandler<InventoryFolderBase, bool>( |
102 | "POST", "/MoveFolder/", m_inventoryService.MoveInventoryFolder)); | 102 | "POST", "/MoveFolder/", m_inventoryService.MoveFolder)); |
103 | 103 | ||
104 | m_httpServer.AddStreamHandler( | 104 | m_httpServer.AddStreamHandler( |
105 | new RestDeserialisehandler<InventoryFolderBase, bool>( | 105 | new RestDeserialisehandler<InventoryFolderBase, bool>( |
106 | "POST", "/PurgeFolder/", m_inventoryService.PurgeInventoryFolder)); | 106 | "POST", "/PurgeFolder/", m_inventoryService.PurgeFolder)); |
107 | 107 | ||
108 | m_httpServer.AddStreamHandler( | 108 | m_httpServer.AddStreamHandler( |
109 | new RestDeserialisehandler<InventoryItemBase, bool>( | 109 | new RestDeserialisehandler<InventoryItemBase, bool>( |
110 | "POST", "/NewItem/", m_inventoryService.AddInventoryItem)); | 110 | "POST", "/NewItem/", m_inventoryService.AddItem)); |
111 | 111 | ||
112 | m_httpServer.AddStreamHandler( | 112 | m_httpServer.AddStreamHandler( |
113 | new RestDeserialisehandler<InventoryItemBase, bool>( | 113 | new RestDeserialisehandler<InventoryItemBase, bool>( |
114 | "POST", "/DeleteItem/", m_inventoryService.DeleteInvItem)); | 114 | "POST", "/DeleteItem/", m_inventoryService.DeleteItem)); |
115 | 115 | ||
116 | // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g | 116 | // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g |
117 | // system folders such as Objects, Textures), but it now returns the entire inventory skeleton. | 117 | // system folders such as Objects, Textures), but it now returns the entire inventory skeleton. |