aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs28
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);