diff options
Diffstat (limited to 'OpenSim/Region/Communications/Local')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalInventoryService.cs | 14 |
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> |