From f198c6854708776a689797d73af49f9846ea9b79 Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 4 Jan 2010 05:34:32 +0000 Subject: [PATCH] Mark GetUserInventory as obsolete. It is still used in the default avatars module and in the REST inventory service, but future inventory services and/or connector will not include this method anymore, because it is dangerous on large inventory servers. Marking as obsolete to give an incentive to rewrite these services to use the recursive fetching or more targeted retrieval. --- OpenSim/Services/Interfaces/IInventoryService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs index c77509014a..1b78fb3912 100644 --- a/OpenSim/Services/Interfaces/IInventoryService.cs +++ b/OpenSim/Services/Interfaces/IInventoryService.cs @@ -59,6 +59,7 @@ namespace OpenSim.Services.Interfaces /// /// /// + [Obsolete] InventoryCollection GetUserInventory(UUID userID); /// @@ -67,6 +68,7 @@ namespace OpenSim.Services.Interfaces /// /// /// + [Obsolete] void GetUserInventory(UUID userID, InventoryReceiptCallback callback); ///