aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid
diff options
context:
space:
mode:
authorSean Dague2008-04-07 23:15:35 +0000
committerSean Dague2008-04-07 23:15:35 +0000
commitf43681510725f5b95fcb864a1f3e4b744fcaf992 (patch)
tree2d34caa75488d1c608d1a21b4888cb0f264a6cba /OpenSim/Grid
parentneeded to add 4 characters to support the dashes (diff)
downloadopensim-SC_OLD-f43681510725f5b95fcb864a1f3e4b744fcaf992.zip
opensim-SC_OLD-f43681510725f5b95fcb864a1f3e4b744fcaf992.tar.gz
opensim-SC_OLD-f43681510725f5b95fcb864a1f3e4b744fcaf992.tar.bz2
opensim-SC_OLD-f43681510725f5b95fcb864a1f3e4b744fcaf992.tar.xz
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
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r--OpenSim/Grid/InventoryServer/GridInventoryService.cs12
1 files changed, 6 insertions, 6 deletions
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
189 // Right now, this actions act more like an update/insert combination than a simple create. 189 // Right now, this actions act more like an update/insert combination than a simple create.
190 m_log.Info( 190 m_log.Info(
191 "[AGENT INVENTORY]: " + 191 "[AGENT INVENTORY]: " +
192 "Updating in " + item.parentFolderID.ToString() 192 "Updating in " + item.Folder.ToString()
193 + ", item " + item.inventoryName); 193 + ", item " + item.Name);
194 194
195 AddNewInventoryItem(item.avatarID, item); 195 AddNewInventoryItem(item.Owner, item);
196 return true; 196 return true;
197 } 197 }
198 198
@@ -201,15 +201,15 @@ namespace OpenSim.Grid.InventoryServer
201 // extra spaces to align with other inventory messages 201 // extra spaces to align with other inventory messages
202 m_log.Info( 202 m_log.Info(
203 "[AGENT INVENTORY]: " + 203 "[AGENT INVENTORY]: " +
204 "Deleting in " + item.parentFolderID.ToString() 204 "Deleting in " + item.Folder.ToString()
205 + ", item " + item.inventoryName); 205 + ", item " + item.Name);
206 206
207 DeleteItem(item); 207 DeleteItem(item);
208 } 208 }
209 209
210 public bool DeleteInvItem(InventoryItemBase item) 210 public bool DeleteInvItem(InventoryItemBase item)
211 { 211 {
212 DeleteInventoryItem(item.avatarID, item); 212 DeleteInventoryItem(item.Owner, item);
213 return true; 213 return true;
214 } 214 }
215 } 215 }