From f43681510725f5b95fcb864a1f3e4b744fcaf992 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 7 Apr 2008 23:15:35 +0000 Subject: Refactor InventoryItemBase to do the following: * wrap fields as Properties * rename some fields/properties to more sensible names * set style to PropName to match more standard C# approach --- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 681e8bb..92d82ab 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs @@ -189,10 +189,10 @@ namespace OpenSim.Grid.InventoryServer // Right now, this actions act more like an update/insert combination than a simple create. m_log.Info( "[AGENT INVENTORY]: " + - "Updating in " + item.parentFolderID.ToString() - + ", item " + item.inventoryName); + "Updating in " + item.Folder.ToString() + + ", item " + item.Name); - AddNewInventoryItem(item.avatarID, item); + AddNewInventoryItem(item.Owner, item); return true; } @@ -201,15 +201,15 @@ namespace OpenSim.Grid.InventoryServer // extra spaces to align with other inventory messages m_log.Info( "[AGENT INVENTORY]: " + - "Deleting in " + item.parentFolderID.ToString() - + ", item " + item.inventoryName); + "Deleting in " + item.Folder.ToString() + + ", item " + item.Name); DeleteItem(item); } public bool DeleteInvItem(InventoryItemBase item) { - DeleteInventoryItem(item.avatarID, item); + DeleteInventoryItem(item.Owner, item); return true; } } -- cgit v1.1