From 79935881aa4ac16990625360b256aa5eebe12ce7 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 14 Dec 2007 07:55:33 +0000 Subject: * Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls --- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'OpenSim/Grid/InventoryServer/GridInventoryService.cs') diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 797de91..c6d3302 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs @@ -72,8 +72,10 @@ namespace OpenSim.Grid.InventoryServer } } - public InventoryCollection GetUserInventory(LLUUID userID) + public InventoryCollection GetUserInventory(Guid rawUserID) { + LLUUID userID = new LLUUID(rawUserID); + InventoryCollection invCollection = new InventoryCollection(); List folders; List allItems; @@ -86,10 +88,12 @@ namespace OpenSim.Grid.InventoryServer return invCollection; } - public bool CreateUsersInventory(LLUUID user) + public bool CreateUsersInventory(Guid rawUserID) { - Console.WriteLine("Creating New Set of Inventory Folders for " + user.ToStringHyphenated()); - CreateNewUserInventory(user); + LLUUID userID = new LLUUID(rawUserID); + + Console.WriteLine("Creating New Set of Inventory Folders for " + userID.ToStringHyphenated()); + CreateNewUserInventory(userID); return true; } -- cgit v1.1