aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalInventoryService.cs
diff options
context:
space:
mode:
authorMW2008-02-05 13:02:03 +0000
committerMW2008-02-05 13:02:03 +0000
commit33c4631c6d1912fb4e5af65ece7a2aa80c8b0005 (patch)
tree7cdabf3047e454b5235d4e67da5e722e025f9524 /OpenSim/Region/Communications/Local/LocalInventoryService.cs
parent* Fix Mantis 457 (diff)
downloadopensim-SC_OLD-33c4631c6d1912fb4e5af65ece7a2aa80c8b0005.zip
opensim-SC_OLD-33c4631c6d1912fb4e5af65ece7a2aa80c8b0005.tar.gz
opensim-SC_OLD-33c4631c6d1912fb4e5af65ece7a2aa80c8b0005.tar.bz2
opensim-SC_OLD-33c4631c6d1912fb4e5af65ece7a2aa80c8b0005.tar.xz
some small changes, like adding a couple of extra methods to IInventoryServices so that a check can be done to see if a inventory set exists for a certain user.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalInventoryService.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalInventoryService.cs14
1 files changed, 14 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>