aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Communications/Local/LocalInventoryService.cs14
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs10
2 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
index 730c40f..da4e473 100644
--- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs
+++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
@@ -83,6 +83,20 @@ namespace OpenSim.Region.Communications.Local
83 DeleteItem(item); 83 DeleteItem(item);
84 } 84 }
85 85
86 public override bool HasInventoryForUser(LLUUID userID)
87 {
88 InventoryFolderBase root = RequestUsersRoot(userID);
89 if (root == null)
90 {
91 return false;
92 }
93 else
94 {
95 return true;
96 }
97 }
98
99
86 /// <summary> 100 /// <summary>
87 /// Send the given inventory folder and its item contents back to the requester. 101 /// Send the given inventory folder and its item contents back to the requester.
88 /// </summary> 102 /// </summary>
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
index 0d97074..1780707 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -163,6 +163,16 @@ namespace OpenSim.Region.Communications.OGS1
163 "POST", _inventoryServerUrl + "/DeleteItem/", item); 163 "POST", _inventoryServerUrl + "/DeleteItem/", item);
164 } 164 }
165 165
166 public bool HasInventoryForUser(LLUUID userID)
167 {
168 return false;
169 }
170
171 public InventoryFolderBase RequestRootFolder(LLUUID userID)
172 {
173 return null;
174 }
175
166 public void CreateNewUserInventory(LLUUID user) 176 public void CreateNewUserInventory(LLUUID user)
167 { 177 {
168 } 178 }