From ea8f3c83bf96453e8223d918933d5708fa49a3cc Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Mon, 4 Jul 2016 03:35:48 +0100
Subject: Finally remove the requirement for an InventoryItem/FolderBase object
to be passed into inventory queries. This makes the API more homogenous and
also will more clearly show coding errors related to HG inventory where the
.Owner field has a meaning for a query but wasn't always set.
---
OpenSim/Services/Interfaces/IInventoryService.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Services/Interfaces')
diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs
index 4289bba..c0c9ba8 100644
--- a/OpenSim/Services/Interfaces/IInventoryService.cs
+++ b/OpenSim/Services/Interfaces/IInventoryService.cs
@@ -161,7 +161,7 @@ namespace OpenSim.Services.Interfaces
///
///
/// null if no item was found, otherwise the found item
- InventoryItemBase GetItem(InventoryItemBase item);
+ InventoryItemBase GetItem(UUID userID, UUID itemID);
///
/// Get multiple items, given by their UUIDs
@@ -175,7 +175,7 @@ namespace OpenSim.Services.Interfaces
///
///
///
- InventoryFolderBase GetFolder(InventoryFolderBase folder);
+ InventoryFolderBase GetFolder(UUID userID, UUID folderID);
///
/// Does the given user have an inventory structure?
--
cgit v1.1