diff options
author | UbitUmarov | 2019-09-23 16:29:33 +0100 |
---|---|---|
committer | UbitUmarov | 2019-09-23 16:29:33 +0100 |
commit | 27a40461e2b943f45fe254529ad08dbc5a6b0340 (patch) | |
tree | 265731662ee9fd8fc7c08e327c5ae9b6570e1da5 /OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs | |
parent | fix a HGsuitcase API (diff) | |
download | opensim-SC-27a40461e2b943f45fe254529ad08dbc5a6b0340.zip opensim-SC-27a40461e2b943f45fe254529ad08dbc5a6b0340.tar.gz opensim-SC-27a40461e2b943f45fe254529ad08dbc5a6b0340.tar.bz2 opensim-SC-27a40461e2b943f45fe254529ad08dbc5a6b0340.tar.xz |
do removed the old API function (replaced in 2016). Thanks Terry for finding this old Bug
Diffstat (limited to 'OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs b/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs index bdb052d..dbd96b8 100644 --- a/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs +++ b/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs | |||
@@ -399,34 +399,6 @@ namespace OpenSim.Services.HypergridService | |||
399 | return false; | 399 | return false; |
400 | } | 400 | } |
401 | 401 | ||
402 | // currently not in use | ||
403 | public InventoryItemBase GetItem(InventoryItemBase item) | ||
404 | { | ||
405 | InventoryItemBase it = base.GetItem(item.Owner, item.ID); | ||
406 | if (it == null) | ||
407 | { | ||
408 | m_log.DebugFormat("[HG SUITCASE INVENTORY SERVICE]: Unable to retrieve item {0} ({1}) in folder {2}", | ||
409 | item.Name, item.ID, item.Folder); | ||
410 | return null; | ||
411 | } | ||
412 | |||
413 | if (!IsWithinSuitcaseTree(it.Owner, it.Folder) && !IsPartOfAppearance(it.Owner, it.ID)) | ||
414 | { | ||
415 | m_log.DebugFormat("[HG SUITCASE INVENTORY SERVICE]: GetItem: item {0}/{1} (folder {2}) (user {3}) is not within Suitcase tree or Appearance", | ||
416 | it.Name, it.ID, it.Folder, it.Owner); | ||
417 | return null; | ||
418 | } | ||
419 | |||
420 | // UserAccount user = m_Cache.GetUser(it.CreatorId); | ||
421 | |||
422 | // // Adjust the creator data | ||
423 | // if (user != null && it != null && (it.CreatorData == null || it.CreatorData == string.Empty)) | ||
424 | // it.CreatorData = m_HomeURL + ";" + user.FirstName + " " + user.LastName; | ||
425 | //} | ||
426 | |||
427 | return it; | ||
428 | } | ||
429 | |||
430 | public override InventoryItemBase GetItem(UUID principalID, UUID itemID) | 402 | public override InventoryItemBase GetItem(UUID principalID, UUID itemID) |
431 | { | 403 | { |
432 | InventoryItemBase it = base.GetItem(principalID, itemID); | 404 | InventoryItemBase it = base.GetItem(principalID, itemID); |