diff options
Diffstat (limited to 'OpenSim/Grid/InventoryServer/GridInventoryService.cs')
-rw-r--r-- | OpenSim/Grid/InventoryServer/GridInventoryService.cs | 12 |
1 files changed, 8 insertions, 4 deletions
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 | |||
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | public InventoryCollection GetUserInventory(LLUUID userID) | 75 | public InventoryCollection GetUserInventory(Guid rawUserID) |
76 | { | 76 | { |
77 | LLUUID userID = new LLUUID(rawUserID); | ||
78 | |||
77 | InventoryCollection invCollection = new InventoryCollection(); | 79 | InventoryCollection invCollection = new InventoryCollection(); |
78 | List<InventoryFolderBase> folders; | 80 | List<InventoryFolderBase> folders; |
79 | List<InventoryItemBase> allItems; | 81 | List<InventoryItemBase> allItems; |
@@ -86,10 +88,12 @@ namespace OpenSim.Grid.InventoryServer | |||
86 | return invCollection; | 88 | return invCollection; |
87 | } | 89 | } |
88 | 90 | ||
89 | public bool CreateUsersInventory(LLUUID user) | 91 | public bool CreateUsersInventory(Guid rawUserID) |
90 | { | 92 | { |
91 | Console.WriteLine("Creating New Set of Inventory Folders for " + user.ToStringHyphenated()); | 93 | LLUUID userID = new LLUUID(rawUserID); |
92 | CreateNewUserInventory(user); | 94 | |
95 | Console.WriteLine("Creating New Set of Inventory Folders for " + userID.ToStringHyphenated()); | ||
96 | CreateNewUserInventory(userID); | ||
93 | return true; | 97 | return true; |
94 | } | 98 | } |
95 | 99 | ||