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/Framework/Communications/IInventoryServices.cs | 2 +- OpenSim/Framework/Communications/InventoryServiceBase.cs | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/IInventoryServices.cs b/OpenSim/Framework/Communications/IInventoryServices.cs index 96bb7b3..191cdf2 100644 --- a/OpenSim/Framework/Communications/IInventoryServices.cs +++ b/OpenSim/Framework/Communications/IInventoryServices.cs @@ -51,4 +51,4 @@ namespace OpenSim.Framework.Communications /// List RequestFirstLevelFolders(LLUUID userID); } -} \ No newline at end of file +} diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index e86eaac..1f64187 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -74,14 +74,20 @@ namespace OpenSim.Framework.Communications } } } - + + public List RequestFirstLevelFolders(Guid rawUserID) + { + LLUUID userID = new LLUUID(rawUserID); + return RequestFirstLevelFolders(userID); + } + /// /// Returns the root folder plus any folders in root (so down one level in the Inventory folders tree) /// /// /// public List RequestFirstLevelFolders(LLUUID userID) - { + { List inventoryList = new List(); InventoryFolderBase rootFolder = null; -- cgit v1.1